summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-02-11 18:19:38 +0100
committerBram Moolenaar <Bram@vim.org>2010-02-11 18:19:38 +0100
commitb4990bf90bf9629e036a2636679c3b8f3f6cd552 (patch)
tree7886780ed6a6e0bd49d4f60c9bbe9342f817c338 /src
parent0413d48711cee4f3b70a097652e502009dc744b4 (diff)
downloadvim-git-b4990bf90bf9629e036a2636679c3b8f3f6cd552.tar.gz
updated for version 7.2.358v7.2.358
Problem: Compiler warnings on VMS. (Zoltan Arpadffy) Solution: Pass array itself instead its address. Return a value.
Diffstat (limited to 'src')
-rw-r--r--src/gui_gtk_x11.c2
-rw-r--r--src/os_unix.c6
-rw-r--r--src/version.c2
3 files changed, 9 insertions, 1 deletions
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c
index de8f265ec..f905eaf67 100644
--- a/src/gui_gtk_x11.c
+++ b/src/gui_gtk_x11.c
@@ -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;
diff --git a/src/os_unix.c b/src/os_unix.c
index a5f033db4..5e11eea3f 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -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
diff --git a/src/version.c b/src/version.c
index b83d0b61d..d71cbbc27 100644
--- a/src/version.c
+++ b/src/version.c
@@ -682,6 +682,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 358,
+/**/
357,
/**/
356,