Skip to content

Commit

Permalink
updated for version 7.4.190
Browse files Browse the repository at this point in the history
Problem:    Compiler warning for using %lld for off_t.
Solution:   Add type cast.
  • Loading branch information
brammool committed Feb 23, 2014
1 parent f30caaf commit 581966e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fileio.c
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -738,6 +738,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
190,
/**/
189,
/**/
Expand Down

0 comments on commit 581966e

Please sign in to comment.