From aadbe476a2da9aec5f8c95218814947d5f5153a1 Mon Sep 17 00:00:00 2001 From: leeonix Date: Sun, 28 Jun 2015 14:07:17 +0800 Subject: modify result type. mingw compile error. --- stormlib_dll/DllMain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stormlib_dll/DllMain.c') diff --git a/stormlib_dll/DllMain.c b/stormlib_dll/DllMain.c index cbfa84a..98eb003 100644 --- a/stormlib_dll/DllMain.c +++ b/stormlib_dll/DllMain.c @@ -14,11 +14,11 @@ //----------------------------------------------------------------------------- // DllMain -DWORD WINAPI DllMain(HINSTANCE hInst, DWORD dwReason, LPVOID lpReserved) +BOOL WINAPI DllMain(HINSTANCE hInst, DWORD dwReason, LPVOID lpReserved) { UNREFERENCED_PARAMETER(hInst); UNREFERENCED_PARAMETER(dwReason); UNREFERENCED_PARAMETER(lpReserved); - return TRUE; + return TRUE; } -- cgit v1.2.3