Merge pull request #39 from wsxarcher/patch-4

Fix mingw GCC compilation with explicit cast of function pointer to void*
This commit is contained in:
Kleuter 2025-04-21 18:01:31 +02:00 committed by GitHub
commit a1fc369ce9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -71,7 +71,7 @@ void * WIN_LoadComBaseFunction(const char *name)
s_bLoaded = true;
}
if (s_hComBase) {
return ::GetProcAddress(s_hComBase, name);
return (void *) ::GetProcAddress(s_hComBase, name);
} else {
return NULL;
}