[vim] 114/139: patch 7.4.1797 Problem: Warning from Windows 64 bit compiler. Solution: Change int to size_t. (Mike Williams)

James McCoy jamessan at debian.org
Fri May 6 04:00:14 UTC 2016


This is an automated email from the git hooks/post-receive script.

jamessan pushed a commit to branch debian/sid
in repository vim.

commit c61348e83fd4eed8b999fe5b7cdfb4caf90bf3fd
Author: Bram Moolenaar <Bram at vim.org>
Date:   Thu Apr 28 22:20:03 2016 +0200

    patch 7.4.1797
    Problem:    Warning from Windows 64 bit compiler.
    Solution:   Change int to size_t. (Mike Williams)
---
 src/term.c    | 2 +-
 src/version.c | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/term.c b/src/term.c
index 61200d2..cc9d7ad 100644
--- a/src/term.c
+++ b/src/term.c
@@ -6174,7 +6174,7 @@ gui_get_color_cmn(char_u *name)
 
     while (!feof(fd))
     {
-	int		len;
+	size_t		len;
 	int		pos;
 
 	(void)fgets(line, LINE_LEN, fd);
diff --git a/src/version.c b/src/version.c
index e4a4cfa..4fb17c4 100644
--- a/src/version.c
+++ b/src/version.c
@@ -754,6 +754,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1797,
+/**/
     1796,
 /**/
     1795,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vim/vim.git



More information about the pkg-vim-maintainers mailing list