main: fix warning

This commit is contained in:
Rodger Combs 2017-12-30 16:43:06 -06:00 committed by Thomas Goyne
parent 16d57dac79
commit 61028916c8

View file

@ -480,7 +480,7 @@ void AegisubApp::MacOpenFiles(wxArrayString const& filenames) {
void AegisubApp::OpenFiles(wxArrayStringsAdapter filenames) {
std::vector<agi::fs::path> files;
for (int i = 0; i < filenames.GetCount(); ++i)
for (size_t i = 0; i < filenames.GetCount(); ++i)
files.push_back(from_wx(filenames[i]));
if (!files.empty())
frames[0]->context->project->LoadList(files);