From: Bram Moolenaar Date: Sun, 23 Feb 2014 21:58:17 +0000 (+0100) Subject: updated for version 7.4.190 X-Git-Tag: v7.4.190 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=581966e8323c2bab6f9e54729708dc46de8f9fc5;p=vim updated for version 7.4.190 Problem: Compiler warning for using %lld for off_t. Solution: Add type cast. --- diff --git a/src/fileio.c b/src/fileio.c index 6fcabd917..4a35f04fe 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -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 diff --git a/src/version.c b/src/version.c index 077b13296..1459a3b48 100644 --- a/src/version.c +++ b/src/version.c @@ -738,6 +738,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 190, /**/ 189, /**/