Fixed possible crash on 64-bit mingw build
This commit is contained in:
parent
0c9ea5ab11
commit
6722f57b06
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user