diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c index 69a00cd5917..f279ee584ff 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);