Merge pull request #186 from hymerman/filelist-crash-fix

Fix Win64 when populating input file list
This commit is contained in:
Graham Pentheny 2016-02-22 11:23:09 -05:00
commit cc35cd8126

View File

@ -35,7 +35,7 @@ void scanDirectoryAppend(const string& path, const string& ext, vector<string>&
string pathWithExt = path + "/*" + ext; string pathWithExt = path + "/*" + ext;
_finddata_t dir; _finddata_t dir;
long fh = _findfirst(pathWithExt.c_str(), &dir); intptr_t fh = _findfirst(pathWithExt.c_str(), &dir);
if (fh == -1L) if (fh == -1L)
{ {
return; return;