From 55952d4dd490bb2f63bda5d7f6d8fb69f58c333c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 5 Nov 2016 14:58:34 +0100 Subject: [PATCH] patch 8.0.0063 Problem: Compiler warning for comparing with unsigned. (Zoltan Arpadffy) Solution: Change <= to ==. --- src/undo.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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, /**/ -- 2.50.1