msi: Do not return ERROR_* constant in HRESULT function.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Sebastian Lackner 2016-09-13 17:53:20 +02:00 committed by Alexandre Julliard
parent 03d301cc74
commit feb986ac5b
1 changed files with 1 additions and 1 deletions

View File

@ -2543,7 +2543,7 @@ HRESULT WINAPI MsiGetFileSignatureInformationA( LPCSTR path, DWORD flags, PCCERT
TRACE("%s %08x %p %p %p\n", debugstr_a(path), flags, cert, hash, hashlen);
if (path && !(pathW = strdupAtoW( path ))) return ERROR_OUTOFMEMORY;
if (path && !(pathW = strdupAtoW( path ))) return E_OUTOFMEMORY;
r = MsiGetFileSignatureInformationW( pathW, flags, cert, hash, hashlen );
msi_free( pathW );
return r;