Francois Gouget : user32/tests: Fix compilation with gcc 2.95.

Alexandre Julliard julliard at wine.codeweavers.com
Mon May 21 09:40:18 CDT 2007


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Sun May 20 12:10:53 2007 +0200

user32/tests: Fix compilation with gcc 2.95.

---

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

diff --git a/dlls/user32/tests/menu.c b/dlls/user32/tests/menu.c
index 5c94b4c..b270a25 100644
--- a/dlls/user32/tests/menu.c
+++ b/dlls/user32/tests/menu.c
@@ -1991,7 +1991,7 @@ static void test_menu_resource_layout(void)
     static const struct
     {
         MENUITEMTEMPLATEHEADER mith;
-        WORD data[];
+        WORD data[14];
     } menu_template =
     {
         { 0, 0 }, /* versionNumber, offset */




More information about the wine-cvs mailing list