Andrew Talbot : advapi32: Use correct function pointer cast.
Alexandre Julliard
julliard at winehq.org
Wed Apr 30 06:57:13 CDT 2008
Module: wine
Branch: master
Commit: 06f05a9a5c07df5dda74ab6ce7469f9098063998
URL: http://source.winehq.org/git/wine.git/?a=commit;h=06f05a9a5c07df5dda74ab6ce7469f9098063998
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Tue Apr 29 21:47:41 2008 +0100
advapi32: Use correct function pointer cast.
---
dlls/advapi32/advapi.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/advapi32/advapi.c b/dlls/advapi32/advapi.c
index 96e9d87..1be3a17 100644
--- a/dlls/advapi32/advapi.c
+++ b/dlls/advapi32/advapi.c
@@ -287,7 +287,8 @@ DWORD WINAPI CommandLineFromMsiDescriptor( WCHAR *szDescriptor,
hmsi = LoadLibraryW( szMsi );
if (!hmsi)
return r;
- mpcfd = (void*) GetProcAddress( hmsi, "MsiProvideComponentFromDescriptorW" );
+ mpcfd = (fnMsiProvideComponentFromDescriptor)GetProcAddress( hmsi,
+ "MsiProvideComponentFromDescriptorW" );
if (mpcfd)
r = mpcfd( szDescriptor, szCommandLine, pcchCommandLine, NULL );
FreeLibrary( hmsi );
More information about the wine-cvs
mailing list