File vim-7.0-flex-array.diff of Package vim

--- src/structs.h.sav	2007-02-02 11:31:05.000000000 +0100
+++ src/structs.h	2007-02-02 11:31:14.000000000 +0100
@@ -1082,7 +1082,7 @@
 {
     typval_T	di_tv;		/* type and value of the variable */
     char_u	di_flags;	/* flags (only used for variable) */
-    char_u	di_key[1];	/* key (actually longer!) */
+    char_u	di_key[];	/* key (actually longer!) */
 };
 
 typedef struct dictitem_S dictitem_T;
openSUSE Build Service is sponsored by