From 34b0a55eb1c104ce7784fb13493091c092105253 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 9 Sep 2009 13:13:13 +0200 Subject: [PATCH] mapi32: Use explicit prototypes for function pointers. --- dlls/mapi32/util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/mapi32/util.c b/dlls/mapi32/util.c index b68eceb51ab..c621a0f8c49 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" };