0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

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)
This commit is contained in:
Bram Moolenaar 2019-01-22 21:45:40 +01:00
parent 57a6bf0567
commit 563bbeabcc
3 changed files with 4 additions and 2 deletions

View File

@ -1935,7 +1935,7 @@ get_x11_windis(void)
alarm(0); alarm(0);
signal(SIGALRM, (RETSIGTYPE (*)())sig_save); signal(SIGALRM, (RETSIGTYPE (*)())sig_save);
if (p_verbose > 0 && sig_alarm_called) 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 #endif
if (x11_display != NULL) if (x11_display != NULL)
{ {

View File

@ -256,7 +256,7 @@ void ch_log(channel_T *ch, const char *fmt, ...)
# endif # endif
# if defined(FEAT_GUI) || defined(FEAT_JOB_CHANNEL) # 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" # include "pty.pro"
# endif # endif
# endif # endif

View File

@ -791,6 +791,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
791,
/**/ /**/
790, 790,
/**/ /**/