0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 7.4.1216

Problem:    Still using HAVE_STDARG_H.
Solution:   Assume it's always defined.
This commit is contained in:
Bram Moolenaar
2016-01-30 21:48:49 +01:00
parent b638a7be95
commit ba4ef2757c
10 changed files with 22 additions and 44 deletions

View File

@@ -6023,11 +6023,7 @@ emsg3(char_u *s, char_u *a1, char_u *a2)
{
if (emsg_not_now())
return TRUE; /* no error messages at the moment */
#ifdef HAVE_STDARG_H
vim_snprintf((char *)IObuff, IOSIZE, (char *)s, a1, a2);
#else
vim_snprintf((char *)IObuff, IOSIZE, (char *)s, (long_u)a1, (long_u)a2);
#endif
return emsg(IObuff);
}