ole32: Remove unneeded address-of operators from array names
Andrew Talbot
andrew.talbot at talbotville.com
Mon Oct 31 16:19:33 CDT 2011
Changelog:
ole32: Remove unneeded address-of operators from array names.
diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c
index 69a00cd..f279ee5 100644
--- a/dlls/ole32/storage32.c
+++ b/dlls/ole32/storage32.c
@@ -1302,7 +1302,7 @@ static HRESULT StorageImpl_CreateDirEntry(
* memset the empty entry in order to initialize the unused newly
* created entries
*/
- memset(&emptyData, 0, RAW_DIRENTRY_SIZE);
+ memset(emptyData, 0, RAW_DIRENTRY_SIZE);
/*
* initialize them
@@ -1347,7 +1347,7 @@ static HRESULT StorageImpl_DestroyDirEntry(
BYTE emptyData[RAW_DIRENTRY_SIZE];
StorageImpl *storage = (StorageImpl*)base;
- memset(&emptyData, 0, RAW_DIRENTRY_SIZE);
+ memset(emptyData, 0, RAW_DIRENTRY_SIZE);
hr = StorageImpl_WriteRawDirEntry(storage, index, emptyData);
More information about the wine-patches
mailing list