Fixed possible crash on 64-bit mingw build

This commit is contained in:
Deve 2018-10-21 21:51:16 +02:00
parent 0c9ea5ab11
commit 6722f57b06

View File

@ -829,13 +829,8 @@ IFileList* CFileSystem::createFileList(const io::path& directory)
r = new CFileList(Path, true, false);
// TODO: Should be unified once mingw adapts the proper types
#if defined(__GNUC__)
long hFile; //mingw return type declaration
#else
intptr_t hFile;
#endif
intptr_t hFile;
io::path searchPath = Path;
searchPath.append('*');
struct _tfinddata_t c_file;