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
1 changed files with 1 additions and 1 deletions

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);