diff src/fileio.c @ 15517:2ad5f0ffaa2e v8.1.0766

patch 8.1.0766: various problems when using Vim on VMS commit https://github.com/vim/vim/commit/88c86eb751de9e7e410b405084d35b32fafc2a24 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 17 17:13:30 2019 +0100 patch 8.1.0766: various problems when using Vim on VMS Problem: Various problems when using Vim on VMS. Solution: Various fixes. Define long_long_T. (Zoltan Arpadffy)
author Bram Moolenaar <Bram@vim.org>
date Thu, 17 Jan 2019 17:15:06 +0100
parents 41fbbcea0f1b
children 959cf4c63b18
line wrap: on
line diff
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -5334,14 +5334,14 @@ msg_add_lines(
 	*p++ = ' ';
     if (shortmess(SHM_LINES))
 	vim_snprintf((char *)p, IOSIZE - (p - IObuff),
-		"%ldL, %lldC", lnum, (long long)nchars);
+		"%ldL, %lldC", lnum, (long_long_T)nchars);
     else
     {
 	sprintf((char *)p, NGETTEXT("%ld line, ", "%ld lines, ", lnum), lnum);
 	p += STRLEN(p);
 	vim_snprintf((char *)p, IOSIZE - (p - IObuff),
 		NGETTEXT("%lld character", "%lld characters", nchars),
-		(long long)nchars);
+		(long_long_T)nchars);
     }
 }