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

Alexandre Julliard julliard at winehq.org
Mon Mar 3 13:20:11 CST 2014


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Mar  3 18:43:17 2014 +0100

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

---

 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;




More information about the wine-cvs mailing list