Fixed warning C4152: nonstandard extension, function/data pointer conversion in expression

This commit is contained in:
Sam Lantinga
2024-01-19 06:36:05 -08:00
parent 9fc1135e3b
commit b566bfce07
8 changed files with 11 additions and 11 deletions

View File

@@ -120,7 +120,7 @@ void WIN_CoUninitialize(void)
}
#ifndef __WINRT__
void *WIN_LoadComBaseFunction(const char *name)
FARPROC WIN_LoadComBaseFunction(const char *name)
{
static SDL_bool s_bLoaded;
static HMODULE s_hComBase;

View File

@@ -134,7 +134,7 @@ extern int WIN_SetError(const char *prefix);
#ifndef __WINRT__
/* Load a function from combase.dll */
void *WIN_LoadComBaseFunction(const char *name);
FARPROC WIN_LoadComBaseFunction(const char *name);
#endif
/* Wrap up the oddities of CoInitialize() into a common function. */