diff --git a/dlls/msi/msi.c b/dlls/msi/msi.c index f903d058fd..0bd23fac94 100644 --- a/dlls/msi/msi.c +++ b/dlls/msi/msi.c @@ -2846,7 +2846,7 @@ UINT WINAPI MsiGetFileHashW( LPCWSTR szFilePath, DWORD dwOptions, MD5Final( &ctx ); UnmapViewOfFile( p ); - memcpy( pHash->dwData, &ctx.digest, sizeof pHash->dwData ); + memcpy( pHash->dwData, ctx.digest, sizeof pHash->dwData ); r = ERROR_SUCCESS; } CloseHandle( mapping ); diff --git a/dlls/msi/suminfo.c b/dlls/msi/suminfo.c index 35dc652791..5d73c57a55 100644 --- a/dlls/msi/suminfo.c +++ b/dlls/msi/suminfo.c @@ -443,7 +443,7 @@ MSISUMMARYINFO *MSI_GetSummaryInformationW( IStorage *stg, UINT uiUpdateCount ) if( !si ) return si; - memset( &si->property, 0, sizeof si->property ); + memset( si->property, 0, sizeof si->property ); si->update_count = uiUpdateCount; IStorage_AddRef( stg ); si->storage = stg;