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 6fcabd9..4a35f04 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -5294,7 +5294,7 @@
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 @@
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