diff options
author | rpj <rpj> | 1998-12-06 14:53:20 +0000 |
---|---|---|
committer | rpj <rpj> | 1998-12-06 14:53:20 +0000 |
commit | c3e3bf8baaa8d164110d62dc93bbb2780ab39e2c (patch) | |
tree | 545c2228ba8156dfa52db9d3d4fdba0f83faa44f /dll.c | |
parent | a7d47499d89932fa74932fef5af9b046227788de (diff) |
Mon Dec 7 09:44:40 1998 Ross Johnson <rpj@ixobrychus.canberra.edu.au>final-pre-bossom
* dll.c (PthreadsEntryPoint): Cast return value of GetProcAddress
to resolve compile warning from MSVC.
Diffstat (limited to 'dll.c')
-rw-r--r-- | dll.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |