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

updated for version 7.4.190

Problem:    Compiler warning for using %lld for off_t.
Solution:   Add type cast.
This commit is contained in:
Bram Moolenaar
2014-02-23 22:58:17 +01:00
parent f30caaf08d
commit 581966e832
2 changed files with 4 additions and 2 deletions

View File

@@ -5294,7 +5294,7 @@ msg_add_lines(insert_space, lnum, nchars)
if (shortmess(SHM_LINES))
sprintf((char *)p,
#ifdef LONG_LONG_OFF_T
"%ldL, %lldC", lnum, nchars
"%ldL, %lldC", lnum, (long long)nchars
#else
/* Explicit typecast avoids warning on Mac OS X 10.6 */
"%ldL, %ldC", lnum, (long)nchars
@@ -5312,7 +5312,7 @@ msg_add_lines(insert_space, lnum, nchars)
else
sprintf((char *)p,
#ifdef LONG_LONG_OFF_T
_("%lld characters"), nchars
_("%lld characters"), (long long)nchars
#else
/* Explicit typecast avoids warning on Mac OS X 10.6 */
_("%ld characters"), (long)nchars