From 9df63d4fc6800a71320c4affb599f659dcb589c5 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Rollo Date: Wed, 29 Jan 2020 12:02:03 +0100 Subject: [PATCH] Fixed crash when opening dialog and having dllexported symbols --- irrlicht-1.8.4/source/Irrlicht/CFileSystem.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/irrlicht-1.8.4/source/Irrlicht/CFileSystem.cpp b/irrlicht-1.8.4/source/Irrlicht/CFileSystem.cpp index f783bc4..b205433 100644 --- a/irrlicht-1.8.4/source/Irrlicht/CFileSystem.cpp +++ b/irrlicht-1.8.4/source/Irrlicht/CFileSystem.cpp @@ -844,7 +844,8 @@ IFileList* CFileSystem::createFileList() // TODO: Should be unified once mingw adapts the proper types #if defined(__GNUC__) - long hFile; //mingw return type declaration + intptr_t hFile; // KIDSCODE - Avoid a crash if dllexported symbols in executable +// long hFile; //mingw return type declaration #else intptr_t hFile; #endif