Module: wine Branch: master Commit: 34b0a55eb1c104ce7784fb13493091c092105253 URL: http://source.winehq.org/git/wine.git/?a=commit;h=34b0a55eb1c104ce7784fb1349...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Sep 9 13:13:13 2009 +0200
mapi32: Use explicit prototypes for function pointers.
---
dlls/mapi32/util.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/mapi32/util.c b/dlls/mapi32/util.c index b68eceb..c621a0f 100644 --- a/dlls/mapi32/util.c +++ b/dlls/mapi32/util.c @@ -858,8 +858,9 @@ BOOL WINAPI FGetComponentPath(LPCSTR component, LPCSTR qualifier, LPSTR dll_path hmsi = LoadLibraryA("msi.dll"); if (hmsi) { - FARPROC pMsiProvideQualifiedComponentA = GetProcAddress(hmsi, "MsiProvideQualifiedComponentA"); + UINT (WINAPI *pMsiProvideQualifiedComponentA)(LPCSTR, LPCSTR, DWORD, LPSTR, LPDWORD);
+ pMsiProvideQualifiedComponentA = (void *)GetProcAddress(hmsi, "MsiProvideQualifiedComponentA"); if (pMsiProvideQualifiedComponentA) { static const char * const fmt[] = { "%d\NT", "%d\95", "%d" };