Andrew Talbot : msi: Remove unneeded address-of operators from array names.
Alexandre Julliard
julliard at winehq.org
Fri Jul 11 08:44:10 CDT 2008
Module: wine
Branch: master
Commit: 0f75796a2849186efc6376e366612fc2de103445
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0f75796a2849186efc6376e366612fc2de103445
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Fri Jul 11 10:41:39 2008 +0100
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 f903d05..0bd23fa 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 35dc652..5d73c57 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;
More information about the wine-cvs
mailing list