mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-04-23 18:33:18 +08:00
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:
commit
a1fc369ce9
@ -71,7 +71,7 @@ void * WIN_LoadComBaseFunction(const char *name)
|
|||||||
s_bLoaded = true;
|
s_bLoaded = true;
|
||||||
}
|
}
|
||||||
if (s_hComBase) {
|
if (s_hComBase) {
|
||||||
return ::GetProcAddress(s_hComBase, name);
|
return (void *) ::GetProcAddress(s_hComBase, name);
|
||||||
} else {
|
} else {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user