Commit 312429fb authored by Alexandre Julliard's avatar Alexandre Julliard

shell32: Use explicit prototypes for function pointers.

parent 34b0a55e
......@@ -180,7 +180,7 @@ BOOL WINAPI GetFileNameFromBrowse(
LPCSTR lpstrTitle)
{
HMODULE hmodule;
FARPROC pGetOpenFileNameA;
BOOL (WINAPI *pGetOpenFileNameA)(LPOPENFILENAMEA);
OPENFILENAMEA ofn;
BOOL ret;
......@@ -190,7 +190,7 @@ BOOL WINAPI GetFileNameFromBrowse(
hmodule = LoadLibraryA("comdlg32.dll");
if(!hmodule) return FALSE;
pGetOpenFileNameA = GetProcAddress(hmodule, "GetOpenFileNameA");
pGetOpenFileNameA = (void *)GetProcAddress(hmodule, "GetOpenFileNameA");
if(!pGetOpenFileNameA)
{
FreeLibrary(hmodule);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment