Author: cwittich
Date: Sun Sep 14 01:10:11 2008
New Revision: 36217
URL:
http://svn.reactos.org/svn/reactos?rev=36217&view=rev
Log:
sync hlink with wine 1.1.4
Modified:
trunk/reactos/dll/win32/hlink/link.c
Modified: trunk/reactos/dll/win32/hlink/link.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/hlink/link.c?rev…
==============================================================================
--- trunk/reactos/dll/win32/hlink/link.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/hlink/link.c [iso-8859-1] Sun Sep 14 01:10:11 2008
@@ -676,7 +676,7 @@
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 @@
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)
{