aboutsummaryrefslogtreecommitdiff
path: root/stormlib_dll
diff options
context:
space:
mode:
authorleeonix <real-like@yeah.net>2015-06-28 14:07:17 +0800
committerleeonix <real-like@yeah.net>2015-06-28 14:07:17 +0800
commitaadbe476a2da9aec5f8c95218814947d5f5153a1 (patch)
tree2dc1375817ed164b4a51b9c80c12ebefbbb406ff /stormlib_dll
parentb8452410f407eeedd64e1b0f0270d94c26987b2e (diff)
modify result type. mingw compile error.
Diffstat (limited to 'stormlib_dll')
-rw-r--r--stormlib_dll/DllMain.c4
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;
}