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

This commit is contained in:
Michael Stefaniuc 2015-02-21 18:01:52 +01:00 committed by Alexandre Julliard
parent b9d5074aaa
commit d0dfa75ba4
1 changed files with 1 additions and 1 deletions

View File

@ -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 );