Skip to content
Snippets Groups Projects
Commit 06f05a9a authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard
Browse files

advapi32: Use correct function pointer cast.

parent 0de14c37
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment