]> granicus.if.org Git - vim/commitdiff
patch 8.1.0791: a few compiler warnings on VMS v8.1.0791
authorBram Moolenaar <Bram@vim.org>
Tue, 22 Jan 2019 20:45:40 +0000 (21:45 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 22 Jan 2019 20:45:40 +0000 (21:45 +0100)
Problem:    A few compiler warnings on VMS.
Solution:   Remove type cast.  Adjust #ifdef. (Zoltan Arpadffy)

src/os_unix.c
src/proto.h
src/version.c

index 33ef78199b92f22f77a4b6dad9830ae742a6183a..3757dc5593acd6f357f19a6c8bdbfa7928092cc3 100644 (file)
@@ -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)
        {
index 0bac087577dfeb8598d831be225d2b447a966776..a71b632515881bd092765e19022faf5bb0c27ab8 100644 (file)
@@ -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
index 8d2050f62282586e4123b580d1a96a0d25f1e6ff..f33f85090d6669d3516e5c22ea6482c3eb53779c 100644 (file)
@@ -791,6 +791,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    791,
 /**/
     790,
 /**/