# HG changeset patch # User Bram Moolenaar # Date 1548190805 -3600 # Node ID c9230ee2b1ad4fed4d9426cab4cfa672c9120c38 # Parent edc9fc7cd03b85a6d0ce8529c76f888673b909d0 patch 8.1.0791: a few compiler warnings on VMS commit https://github.com/vim/vim/commit/563bbeabcce5580e03648e687bd7ddb9626a03d9 Author: Bram Moolenaar Date: Tue Jan 22 21:45:40 2019 +0100 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 --- 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 --- a/src/proto.h +++ b/src/proto.h @@ -256,7 +256,7 @@ void ch_log(channel_T *ch, const char *f # 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 --- a/src/version.c +++ b/src/version.c @@ -792,6 +792,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 791, +/**/ 790, /**/ 789,