Commit feb986ac authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

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

parent 03d301cc
......@@ -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;
......
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