From 6aa395b57bb131f0993823908d9a12e63e04f186 Mon Sep 17 00:00:00 2001 From: deepzero Date: Wed, 15 Jan 2014 08:50:28 +0100 Subject: [PATCH] fix return NULL instead of false --- TitanEngine/TitanEngine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TitanEngine/TitanEngine.cpp b/TitanEngine/TitanEngine.cpp index 07ec8dd..bb2b83a 100644 --- a/TitanEngine/TitanEngine.cpp +++ b/TitanEngine/TitanEngine.cpp @@ -12437,7 +12437,7 @@ __declspec(dllexport) void* TITCALL InitDebug(char* szFileName, char* szCommandL } else { - return(false); + return NULL; } } __declspec(dllexport) void* TITCALL InitDebugW(wchar_t* szFileName, wchar_t* szCommandLine, wchar_t* szCurrentFolder) @@ -12526,7 +12526,7 @@ __declspec(dllexport) void* TITCALL InitDLLDebug(char* szFileName, bool ReserveM } else { - return(false); + return NULL; } } __declspec(dllexport) void* TITCALL InitDLLDebugW(wchar_t* szFileName, bool ReserveModuleBase, wchar_t* szCommandLine, wchar_t* szCurrentFolder, LPVOID EntryCallBack)