0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.0b

This commit is contained in:
Bram Moolenaar
2006-03-24 22:21:52 +00:00
parent db552d60ec
commit c01140a1a0
173 changed files with 4011 additions and 2470 deletions

View File

@@ -4167,8 +4167,8 @@ vim_snprintf(str, str_m, fmt, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10)
{
/* memchr on HP does not like n > 2^31 !!! */
char *q = memchr(str_arg, '\0',
precision <= 0x7fffffff ? precision
: 0x7fffffff);
precision <= (size_t)0x7fffffffL ? precision
: (size_t)0x7fffffffL);
str_arg_l = (q == NULL) ? precision : q - str_arg;
}
break;