diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-11-08 19:49:02 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-11-08 19:49:02 +0000 |
commit | 6f1924547b30753738ea0eb41ab31513894fde83 (patch) | |
tree | 96f66ba95fffc6689f546ec87d4054853be3fab3 /src/misc2.c | |
parent | a443af88a48d74b56ea9aa2aa486f52f340bbf77 (diff) | |
download | vim-git-6f1924547b30753738ea0eb41ab31513894fde83.tar.gz |
updated for version 7.1-153v7.1.153
Diffstat (limited to 'src/misc2.c')
-rw-r--r-- | src/misc2.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/misc2.c b/src/misc2.c index 19b99e2b4..f22bf3f0f 100644 --- a/src/misc2.c +++ b/src/misc2.c @@ -5924,7 +5924,11 @@ emsg3(s, a1, 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); } |