diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-01-22 21:45:40 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-01-22 21:45:40 +0100 |
commit | 563bbeabcce5580e03648e687bd7ddb9626a03d9 (patch) | |
tree | 161f7c217cd66e39dbedeb2618a891b6c43d384b | |
parent | 57a6bf056715bd5c94d8047247615e39862424e7 (diff) |
patch 8.1.0791: a few compiler warnings on VMSv8.1.0791
Problem: A few compiler warnings on VMS.
Solution: Remove type cast. Adjust #ifdef. (Zoltan Arpadffy)
-rw-r--r-- | src/os_unix.c | 2 | ||||
-rw-r--r-- | src/proto.h | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
3 files changed, 4 insertions, 2 deletions
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 @@ -792,6 +792,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 791, +/**/ 790, /**/ 789, |