]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.190 v7.4.190
authorBram Moolenaar <Bram@vim.org>
Sun, 23 Feb 2014 21:58:17 +0000 (22:58 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 23 Feb 2014 21:58:17 +0000 (22:58 +0100)
Problem:    Compiler warning for using %lld for off_t.
Solution:   Add type cast.

src/fileio.c
src/version.c

index 6fcabd917a874c05787985704829359a90ef7d31..4a35f04fe87ce9b10cf958b2fa9ecf47ff33b836 100644 (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
index 077b132962693e930052d8f94ea018d7fd620725..1459a3b48c7246151c66143cea23f9261929bb64 100644 (file)
@@ -738,6 +738,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    190,
 /**/
     189,
 /**/