Commit d0dfa75b authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

setupapi: RT_MANIFEST is already an int resource (PVS-Studio).

parent b9d5074a
......@@ -791,7 +791,7 @@ static void register_fake_dll( const WCHAR *name, const void *data, size_t size
HMODULE module = (HMODULE)((ULONG_PTR)data | 1);
HRSRC rsrc;
if ((rsrc = FindResourceW( module, manifestW, MAKEINTRESOURCEW(RT_MANIFEST) )))
if ((rsrc = FindResourceW( module, manifestW, (LPWSTR)RT_MANIFEST )))
{
char *manifest = LoadResource( module, rsrc );
register_manifest( name, manifest, SizeofResource( module, rsrc ), data, size );
......
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