Fixed warning C4152: nonstandard extension, function/data pointer conversion in expression
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user