Commit 06f05a9a authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

advapi32: Use correct function pointer cast.

parent 0de14c37
...@@ -287,7 +287,8 @@ DWORD WINAPI CommandLineFromMsiDescriptor( WCHAR *szDescriptor, ...@@ -287,7 +287,8 @@ DWORD WINAPI CommandLineFromMsiDescriptor( WCHAR *szDescriptor,
hmsi = LoadLibraryW( szMsi ); hmsi = LoadLibraryW( szMsi );
if (!hmsi) if (!hmsi)
return r; return r;
mpcfd = (void*) GetProcAddress( hmsi, "MsiProvideComponentFromDescriptorW" ); mpcfd = (fnMsiProvideComponentFromDescriptor)GetProcAddress( hmsi,
"MsiProvideComponentFromDescriptorW" );
if (mpcfd) if (mpcfd)
r = mpcfd( szDescriptor, szCommandLine, pcchCommandLine, NULL ); r = mpcfd( szDescriptor, szCommandLine, pcchCommandLine, NULL );
FreeLibrary( hmsi ); FreeLibrary( hmsi );
......
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