Francois Gouget : shlwapi: Fix compilation on systems that don' t support nameless unions.
Alexandre Julliard
julliard at winehq.org
Mon Oct 19 09:56:12 CDT 2009
Module: wine
Branch: master
Commit: af6c873b5489eaad656d01b09581d9788b0b5f63
URL: http://source.winehq.org/git/wine.git/?a=commit;h=af6c873b5489eaad656d01b09581d9788b0b5f63
Author: Francois Gouget <fgouget at free.fr>
Date: Sat Oct 17 20:29:10 2009 +0200
shlwapi: Fix compilation on systems that don't support nameless unions.
---
dlls/shlwapi/regstream.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/shlwapi/regstream.c b/dlls/shlwapi/regstream.c
index eb906a7..4dc15ad 100644
--- a/dlls/shlwapi/regstream.c
+++ b/dlls/shlwapi/regstream.c
@@ -221,7 +221,7 @@ static HRESULT WINAPI IStream_fnSeek (IStream * iface, LARGE_INTEGER dlibMove, D
return STG_E_INVALIDFUNCTION;
/* we cut off the high part here */
- This->dwPos = tmp.LowPart;
+ This->dwPos = tmp.u.LowPart;
if (plibNewPosition)
plibNewPosition->QuadPart = This->dwPos;
@@ -240,7 +240,7 @@ static HRESULT WINAPI IStream_fnSetSize (IStream * iface, ULARGE_INTEGER libNewS
TRACE("(%p, %s)\n", This, wine_dbgstr_longlong(libNewSize.QuadPart));
/* we cut off the high part here */
- newLen = libNewSize.LowPart;
+ newLen = libNewSize.u.LowPart;
newBuf = HeapReAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, This->pbBuffer, newLen);
if (!newBuf)
return STG_E_INSUFFICIENTMEMORY;
More information about the wine-cvs
mailing list