# HG changeset patch # User Christian Brabandt # Date 1478354404 -3600 # Node ID 9d282593ba24c9a8e95c345650878a3b7ad4dc4d # Parent 2d3dbf2a394ed94965427cf287d7cfb3f7447604 commit https://github.com/vim/vim/commit/55952d4dd490bb2f63bda5d7f6d8fb69f58c333c Author: Bram Moolenaar Date: Sat Nov 5 14:58:34 2016 +0100 patch 8.0.0063 Problem: Compiler warning for comparing with unsigned. (Zoltan Arpadffy) Solution: Change <= to ==. diff --git a/src/undo.c b/src/undo.c --- a/src/undo.c +++ b/src/undo.c @@ -1076,7 +1076,7 @@ undo_read(bufinfo_T *bi, char_u *buffer, if (bi->bi_used >= bi->bi_avail) { n = fread(bi->bi_buffer, 1, (size_t)CRYPT_BUF_SIZE, bi->bi_fp); - if (n <= 0) + if (n == 0) { /* Error may be checked for only later. Fill with zeros, * so that the reader won't use garbage. */ diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -765,6 +765,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 63, +/**/ 62, /**/ 61,