Sebastian Lackner : msi: Do not return ERROR_* constant in HRESULT function.
Alexandre Julliard
julliard at winehq.org
Wed Sep 14 10:28:52 CDT 2016
Module: wine
Branch: master
Commit: feb986ac5b9d8f59f4cc61e6bb8ab5192bf77e79
URL: http://source.winehq.org/git/wine.git/?a=commit;h=feb986ac5b9d8f59f4cc61e6bb8ab5192bf77e79
Author: Sebastian Lackner <sebastian at 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 at fds-team.de>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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;
More information about the wine-cvs
mailing list