summaryrefslogtreecommitdiff
path: root/dll.c
diff options
context:
space:
mode:
Diffstat (limited to 'dll.c')
-rw-r--r--dll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dll.c b/dll.c
index a9fa81f..bb3d7ef 100644
--- a/dll.c
+++ b/dll.c
@@ -63,7 +63,7 @@ BOOL WINAPI PthreadsEntryPoint(HINSTANCE dllHandle,
/* Load KERNEL32 and try to get address of TryEnterCriticalSection */
_pthread_h_kernel32 = LoadLibrary(TEXT("KERNEL32.DLL"));
- _pthread_try_enter_critical_section = GetProcAddress(_pthread_h_kernel32, "TryEnterCriticalSection");
+ _pthread_try_enter_critical_section = (void *) GetProcAddress(_pthread_h_kernel32, "TryEnterCriticalSection");
break;
case DLL_PROCESS_DETACH: