Commit 0755c18c authored by hybrid's avatar hybrid

Fix problem with 64bit systems, due to wrong return types used. Problem still...

Fix problem with 64bit systems, due to wrong return types used. Problem still persists with mingw, where the return type is used as before and is kept via ifdef.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4312 dfc29bdd-3216-0410-991c-e03cc46cb475
parent b607c3af
......@@ -834,9 +834,14 @@ IFileList* CFileSystem::createFileList()
r = new CFileList(Path, true, false);
struct _tfinddata_t c_file;
long hFile;
// TODO: Should be unified once mingw adapts the proper types
#if defined(__GNUC__)
long hFile; //mingw return type declaration
#else
intptr_t hFile;
#endif
struct _tfinddata_t c_file;
if( (hFile = _tfindfirst( _T("*"), &c_file )) != -1L )
{
do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment