mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -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:
@@ -5294,7 +5294,7 @@ msg_add_lines(insert_space, lnum, nchars)
|
|||||||
if (shortmess(SHM_LINES))
|
if (shortmess(SHM_LINES))
|
||||||
sprintf((char *)p,
|
sprintf((char *)p,
|
||||||
#ifdef LONG_LONG_OFF_T
|
#ifdef LONG_LONG_OFF_T
|
||||||
"%ldL, %lldC", lnum, nchars
|
"%ldL, %lldC", lnum, (long long)nchars
|
||||||
#else
|
#else
|
||||||
/* Explicit typecast avoids warning on Mac OS X 10.6 */
|
/* Explicit typecast avoids warning on Mac OS X 10.6 */
|
||||||
"%ldL, %ldC", lnum, (long)nchars
|
"%ldL, %ldC", lnum, (long)nchars
|
||||||
@@ -5312,7 +5312,7 @@ msg_add_lines(insert_space, lnum, nchars)
|
|||||||
else
|
else
|
||||||
sprintf((char *)p,
|
sprintf((char *)p,
|
||||||
#ifdef LONG_LONG_OFF_T
|
#ifdef LONG_LONG_OFF_T
|
||||||
_("%lld characters"), nchars
|
_("%lld characters"), (long long)nchars
|
||||||
#else
|
#else
|
||||||
/* Explicit typecast avoids warning on Mac OS X 10.6 */
|
/* Explicit typecast avoids warning on Mac OS X 10.6 */
|
||||||
_("%ld characters"), (long)nchars
|
_("%ld characters"), (long)nchars
|
||||||
|
@@ -738,6 +738,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
190,
|
||||||
/**/
|
/**/
|
||||||
189,
|
189,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user