diff options
author | leeonix <real-like@yeah.net> | 2015-06-28 14:07:17 +0800 |
---|---|---|
committer | leeonix <real-like@yeah.net> | 2015-06-28 14:07:17 +0800 |
commit | aadbe476a2da9aec5f8c95218814947d5f5153a1 (patch) | |
tree | 2dc1375817ed164b4a51b9c80c12ebefbbb406ff | |
parent | b8452410f407eeedd64e1b0f0270d94c26987b2e (diff) |
modify result type. mingw compile error.
-rw-r--r-- | stormlib_dll/DllMain.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |