Commit ac25a3f9 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

oleaut32/tests: Fix compilation on systems with no nameless unions (e.g. gcc 2.95).

parent 5d0da6f6
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment