mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
hlink: Remove unneeded address-of operators from array names.
This commit is contained in:
parent
ab6d29eb5d
commit
3427b94384
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue