From: Bram Moolenaar Date: Tue, 22 Jan 2019 20:45:40 +0000 (+0100) Subject: patch 8.1.0791: a few compiler warnings on VMS X-Git-Tag: v8.1.0791 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=563bbeabcce5580e03648e687bd7ddb9626a03d9;p=thirdparty%2Fvim.git patch 8.1.0791: a few compiler warnings on VMS Problem: A few compiler warnings on VMS. Solution: Remove type cast. Adjust #ifdef. (Zoltan Arpadffy) --- diff --git a/src/os_unix.c b/src/os_unix.c index 33ef78199b..3757dc5593 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -1935,7 +1935,7 @@ get_x11_windis(void) alarm(0); signal(SIGALRM, (RETSIGTYPE (*)())sig_save); if (p_verbose > 0 && sig_alarm_called) - verb_msg((char_u *)_("Opening the X display timed out")); + verb_msg(_("Opening the X display timed out")); #endif if (x11_display != NULL) { diff --git a/src/proto.h b/src/proto.h index 0bac087577..a71b632515 100644 --- a/src/proto.h +++ b/src/proto.h @@ -256,7 +256,7 @@ void ch_log(channel_T *ch, const char *fmt, ...) # endif # if defined(FEAT_GUI) || defined(FEAT_JOB_CHANNEL) -# if defined(UNIX) || defined(MACOS_X) +# if defined(UNIX) || defined(MACOS_X) || defined(VMS) # include "pty.pro" # endif # endif diff --git a/src/version.c b/src/version.c index 8d2050f622..f33f85090d 100644 --- a/src/version.c +++ b/src/version.c @@ -791,6 +791,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 791, /**/ 790, /**/