From 0f75796a2849186efc6376e366612fc2de103445 Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Fri, 11 Jul 2008 10:41:39 +0100 Subject: [PATCH] msi: Remove unneeded address-of operators from array names. --- dlls/msi/msi.c | 2 +- dlls/msi/suminfo.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/msi/msi.c b/dlls/msi/msi.c index f903d058fda..0bd23fac949 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 35dc6527919..5d73c57a55c 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;