sync hlink with wine 1.1.4
authorChristoph von Wittich <christoph_vw@reactos.org>
Sun, 14 Sep 2008 06:10:11 +0000 (06:10 +0000)
committerChristoph von Wittich <christoph_vw@reactos.org>
Sun, 14 Sep 2008 06:10:11 +0000 (06:10 +0000)
svn path=/trunk/; revision=36217

reactos/dll/win32/hlink/link.c

index ca9f12c..ff34556 100644 (file)
@@ -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)
     {