Andrew Talbot : hlink: Remove unneeded address-of operators from array names.
Alexandre Julliard
julliard at winehq.org
Fri Jul 11 08:44:08 CDT 2008
Module: wine
Branch: master
Commit: 3427b94384fd47b5eae2c2fca7b1a967915f6368
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3427b94384fd47b5eae2c2fca7b1a967915f6368
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Thu Jul 10 23:08:59 2008 +0100
hlink: Remove unneeded address-of operators from array names.
---
dlls/hlink/link.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/hlink/link.c b/dlls/hlink/link.c
index ca9f12c..ff34556 100644
--- a/dlls/hlink/link.c
+++ b/dlls/hlink/link.c
@@ -676,7 +676,7 @@ static HRESULT WINAPI IPersistStream_fnLoad(IPersistStream* iface,
DWORD read;
HlinkImpl *This = HlinkImpl_from_IPersistStream(iface);
- r = IStream_Read(pStm, &hdr, sizeof(hdr), &read);
+ r = IStream_Read(pStm, hdr, sizeof(hdr), &read);
if (read != sizeof(hdr) || (hdr[0] != HLINK_SAVE_MAGIC))
{
r = E_FAIL;
@@ -749,7 +749,7 @@ static HRESULT WINAPI IPersistStream_fnSave(IPersistStream* iface,
if (This->TargetFrameName)
hdr[1] |= HLINK_SAVE_TARGET_FRAME_PRESENT;
- IStream_Write(pStm, &hdr, sizeof(hdr), NULL);
+ IStream_Write(pStm, hdr, sizeof(hdr), NULL);
if (This->TargetFrameName)
{
More information about the wine-cvs
mailing list