1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 06:04:49 +01:00

fix warnings

This commit is contained in:
FunkyFr3sh 2024-07-14 00:09:03 +02:00
parent 0fabacc58c
commit 86eb6020d7

View File

@ -149,7 +149,7 @@ FARPROC util_get_iat_proc(HMODULE mod, char* module_name, char* function_name)
BOOL util_caller_is_ddraw_wrapper(void* return_address)
{
BOOL (WINAPI *getModuleHandleExA)(DWORD, LPCSTR, HMODULE*) =
real_GetProcAddress(GetModuleHandleA("Kernel32.dll"), "GetModuleHandleExA");;
(void*)real_GetProcAddress(GetModuleHandleA("Kernel32.dll"), "GetModuleHandleExA");
if (!getModuleHandleExA)
return FALSE;