changeset 15567:c9230ee2b1ad v8.1.0791

patch 8.1.0791: a few compiler warnings on VMS commit https://github.com/vim/vim/commit/563bbeabcce5580e03648e687bd7ddb9626a03d9 Author: Bram Moolenaar <Bram@vim.org> 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)
author Bram Moolenaar <Bram@vim.org>
date Tue, 22 Jan 2019 22:00:05 +0100
parents edc9fc7cd03b
children 16ab7979815a
files src/os_unix.c src/proto.h src/version.c
diffstat 3 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)
 	{
--- 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
--- 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,