]> granicus.if.org Git - vim/commitdiff
updated for version 7.2.358 v7.2.358
authorBram Moolenaar <Bram@vim.org>
Thu, 11 Feb 2010 17:19:38 +0000 (18:19 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 11 Feb 2010 17:19:38 +0000 (18:19 +0100)
Problem:    Compiler warnings on VMS. (Zoltan Arpadffy)
Solution:   Pass array itself instead its address.  Return a value.

src/gui_gtk_x11.c
src/os_unix.c
src/version.c

index de8f265ec759aa5286acc8d48541dda274948586..f905eaf6718bf0fe6abbf80e8d512d739ad09991 100644 (file)
@@ -6190,7 +6190,7 @@ gui_mch_draw_string(int row, int col, char_u *s, int len, int flags)
                int pcc[MAX_MCO];
 
                /* TODO: use the composing characters */
-               c = utfc_ptr2char_len(p, &pcc, len - (p - s));
+               c = utfc_ptr2char_len(p, pcc, len - (p - s));
                if (c >= 0x10000)       /* show chars > 0xffff as ? */
                    c = 0xbf;
                buf[textlen].byte1 = c >> 8;
index a5f033db4ff6a27ec5c8aef2dbb02bc70a6831f8..5e11eea3f9cdaadf944efe72bbf21d918e70928a 100644 (file)
@@ -1471,6 +1471,9 @@ x_IOerror_check(dpy)
 {
     /* This function should not return, it causes exit().  Longjump instead. */
     LONGJMP(lc_jump_env, 1);
+#  ifdef VMS
+    return 0;  /* avoid the compiler complains about missing return value */
+#  endif
 }
 # endif
 
@@ -1490,6 +1493,9 @@ x_IOerror_handler(dpy)
 
     /* This function should not return, it causes exit().  Longjump instead. */
     LONGJMP(x_jump_env, 1);
+# ifdef VMS
+    return 0;  /* avoid the compiler complains about missing return value */
+# endif
 }
 #endif
 
index b83d0b61d29ab280eadc6eb18d1a445b90f7ab0d..d71cbbc27358889799c5aa376da518218b7a2bbb 100644 (file)
@@ -681,6 +681,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    358,
 /**/
     357,
 /**/