master #5

Merged
BRNSystems merged 45 commits from Mirrorlandia_minetest/irrlicht:master into master 2024-02-27 13:26:18 +01:00
Showing only changes of commit 2bb2d3fe01 - Show all commits

@ -745,15 +745,10 @@ IFileList* CFileSystem::createFileList()
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 is optional but supported by MinGW since 2007 or earlier.
intptr_t hFile;
#endif
struct _tfinddata_t c_file;
if( (hFile = _tfindfirst( _T("*"), &c_file )) != -1L )
if( (hFile = _tfindfirst( _T("*"), &c_file )) != (intptr_t)(-1L) )
{
do
{