Francois Gouget : oleaut32/tests:
Fix compilation on systems with no nameless unions (e.g. gcc 2.95).
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jan 8 06:35:20 CST 2007
Module: wine
Branch: master
Commit: ac25a3f93dcfc535f39c20a9ed0bc675913e2f9c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ac25a3f93dcfc535f39c20a9ed0bc675913e2f9c
Author: Francois Gouget <fgouget at free.fr>
Date: Sat Jan 6 19:26:12 2007 +0100
oleaut32/tests: Fix compilation on systems with no nameless unions (e.g. gcc 2.95).
---
dlls/oleaut32/tests/vartest.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/oleaut32/tests/vartest.c b/dlls/oleaut32/tests/vartest.c
index 845e433..d97d46f 100644
--- a/dlls/oleaut32/tests/vartest.c
+++ b/dlls/oleaut32/tests/vartest.c
@@ -2406,8 +2406,8 @@ static void test_VarMod(void)
else if (l == VT_DECIMAL)
{
V_DECIMAL(&v1).Hi32 = 0;
- V_DECIMAL(&v1).Lo64 = 100;
- V_DECIMAL(&v1).signscale = 0;
+ U1(V_DECIMAL(&v1)).Lo64 = 100;
+ U(V_DECIMAL(&v1)).signscale = 0;
}
else
V_I4(&v1) = 10000;
@@ -2427,8 +2427,8 @@ static void test_VarMod(void)
else if (r == VT_DECIMAL)
{
V_DECIMAL(&v2).Hi32 = 0;
- V_DECIMAL(&v2).Lo64 = 100;
- V_DECIMAL(&v2).signscale = 0;
+ U1(V_DECIMAL(&v2)).Lo64 = 100;
+ U(V_DECIMAL(&v2)).signscale = 0;
}
else
V_I4(&v2) = 10000;
More information about the wine-cvs
mailing list