jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone

Blame SOURCES/vim-7.0-warning.patch

1fa1ff
--- vim70c/src/structs.h.warning1	2006-04-04 15:58:16.000000000 +0200
1fa1ff
+++ vim70c/src/structs.h	2006-04-04 15:58:20.000000000 +0200
1fa1ff
@@ -1082,7 +1082,7 @@
1fa1ff
 {
1fa1ff
     typval_T	di_tv;		/* type and value of the variable */
1fa1ff
     char_u	di_flags;	/* flags (only used for variable) */
1fa1ff
-    char_u	di_key[1];	/* key (actually longer!) */
1fa1ff
+    char_u	di_key[10];	/* key (actually longer!) */
1fa1ff
 };
1fa1ff
 
1fa1ff
 typedef struct dictitem_S dictitem_T;