Module: wine Branch: master Commit: feb986ac5b9d8f59f4cc61e6bb8ab5192bf77e79 URL: http://source.winehq.org/git/wine.git/?a=commit;h=feb986ac5b9d8f59f4cc61e6bb...
Author: Sebastian Lackner sebastian@fds-team.de Date: Tue Sep 13 17:53:20 2016 +0200
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
---
dlls/msi/msi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/msi/msi.c b/dlls/msi/msi.c index ecc3e94..e812ebb 100644 --- a/dlls/msi/msi.c +++ b/dlls/msi/msi.c @@ -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;