Francois Gouget : oleaut32/tests: Fix compilation on systems that don' t support nameless structs (e.g. gcc 2.95).

Alexandre Julliard julliard at wine.codeweavers.com
Tue Jan 23 06:18:04 CST 2007


Module: wine
Branch: master
Commit: 7f05a94f50e214094dcb1305effa73a55f6635db
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7f05a94f50e214094dcb1305effa73a55f6635db

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Jan 22 13:07:29 2007 +0100

oleaut32/tests: Fix compilation on systems that don't support nameless structs (e.g. gcc 2.95).

---

 dlls/oleaut32/tests/vartest.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/oleaut32/tests/vartest.c b/dlls/oleaut32/tests/vartest.c
index 038dd90..ed00a40 100644
--- a/dlls/oleaut32/tests/vartest.c
+++ b/dlls/oleaut32/tests/vartest.c
@@ -301,7 +301,7 @@ static const char *variantstr( const VAR
     case VT_UINT:
         sprintf( buffer[current], "VT_UINT(%d)", V_UINT(var) ); break;
     case VT_CY:
-        sprintf( buffer[current], "VT_CY(%x%08x)", V_CY(var).Hi, V_CY(var).Lo ); break;
+        sprintf( buffer[current], "VT_CY(%x%08x)", S(V_CY(var)).Hi, S(V_CY(var)).Lo ); break;
     case VT_DATE:
         sprintf( buffer[current], "VT_DATE(%g)", V_DATE(var) ); break;
     default:




More information about the wine-cvs mailing list