summaryrefslogtreecommitdiff
path: root/dll.c
diff options
context:
space:
mode:
Diffstat (limited to 'dll.c')
-rw-r--r--dll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dll.c b/dll.c
index f2b3505..7ebfd5e 100644
--- a/dll.c
+++ b/dll.c
@@ -50,8 +50,8 @@ DllMain (
/* Load KERNEL32 and try to get address of TryEnterCriticalSection */
_pthread_h_kernel32 = LoadLibrary(TEXT("KERNEL32.DLL"));
_pthread_try_enter_critical_section =
- (void *) GetProcAddress(_pthread_h_kernel32,
- "TryEnterCriticalSection");
+ GetProcAddress(_pthread_h_kernel32,
+ (LPCSTR) "TryEnterCriticalSection");
break;
case DLL_THREAD_ATTACH: