Alexandre Julliard : shell32: Use explicit prototypes for function pointers .
Alexandre Julliard
julliard at winehq.org
Wed Sep 9 09:56:59 CDT 2009
Module: wine
Branch: master
Commit: 312429fb5147cc6507b299dc763178a40a1ae708
URL: http://source.winehq.org/git/wine.git/?a=commit;h=312429fb5147cc6507b299dc763178a40a1ae708
Author: Alexandre Julliard <julliard at winehq.org>
Date: Wed Sep 9 13:13:19 2009 +0200
shell32: Use explicit prototypes for function pointers.
---
dlls/shell32/shellord.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/shell32/shellord.c b/dlls/shell32/shellord.c
index 44c9c7e..ac06e4b 100644
--- a/dlls/shell32/shellord.c
+++ b/dlls/shell32/shellord.c
@@ -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);
More information about the wine-cvs
mailing list