oleaut32/tests: Fix compilation on systems that don't support nameless structs.

Francois Gouget fgouget at free.fr
Mon Mar 3 11:43:17 CST 2014


---
 dlls/oleaut32/tests/olefont.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/oleaut32/tests/olefont.c b/dlls/oleaut32/tests/olefont.c
index 53afc8d..ded1838 100644
--- a/dlls/oleaut32/tests/olefont.c
+++ b/dlls/oleaut32/tests/olefont.c
@@ -433,8 +433,8 @@ static void test_font_events_disp(void)
         }
         case DISPID_FONT_SIZE:
             V_VT(&vararg) = VT_CY;
-            V_CY(&vararg).Lo = 25;
-            V_CY(&vararg).Hi = 0;
+            S(V_CY(&vararg)).Lo = 25;
+            S(V_CY(&vararg)).Hi = 0;
             break;
         case DISPID_FONT_BOLD:
             V_VT(&vararg) = VT_BOOL;
-- 
1.8.5.3



More information about the wine-patches mailing list