From: Bram Moolenaar Date: Sat, 5 Nov 2016 13:58:34 +0000 (+0100) Subject: patch 8.0.0063 X-Git-Tag: v8.0.0063 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=55952d4dd490bb2f63bda5d7f6d8fb69f58c333c;p=vim 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 index c9a80dc07..cc74edd94 100644 --- a/src/undo.c +++ b/src/undo.c @@ -1076,7 +1076,7 @@ undo_read(bufinfo_T *bi, char_u *buffer, size_t size) 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 index d8cfa1922..492a5277e 100644 --- a/src/version.c +++ b/src/version.c @@ -764,6 +764,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 63, /**/ 62, /**/