diff options
-rw-r--r-- | src/message.c | 16 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 14 insertions, 4 deletions
diff --git a/src/message.c b/src/message.c index cb1a773ce..0119145cf 100644 --- a/src/message.c +++ b/src/message.c @@ -4722,9 +4722,13 @@ vim_vsnprintf_typval( // signed switch (length_modifier) { - case '\0': + case '\0': str_arg_l += sprintf( + tmp + str_arg_l, f, + int_arg); + break; case 'h': str_arg_l += sprintf( - tmp + str_arg_l, f, int_arg); + tmp + str_arg_l, f, + (short)int_arg); break; case 'l': str_arg_l += sprintf( tmp + str_arg_l, f, long_arg); @@ -4739,9 +4743,13 @@ vim_vsnprintf_typval( // unsigned switch (length_modifier) { - case '\0': + case '\0': str_arg_l += sprintf( + tmp + str_arg_l, f, + uint_arg); + break; case 'h': str_arg_l += sprintf( - tmp + str_arg_l, f, uint_arg); + tmp + str_arg_l, f, + (unsigned short)uint_arg); break; case 'l': str_arg_l += sprintf( tmp + str_arg_l, f, ulong_arg); diff --git a/src/version.c b/src/version.c index 60deed84a..d88f5ec11 100644 --- a/src/version.c +++ b/src/version.c @@ -739,6 +739,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 364, +/**/ 363, /**/ 362, |