diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-11-05 14:58:34 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-11-05 14:58:34 +0100 |
commit | 55952d4dd490bb2f63bda5d7f6d8fb69f58c333c (patch) | |
tree | afb9529e96c04479e470c5fdf929ce668028ecde | |
parent | 81615517249bb78cba9c37c9834b787c1b265521 (diff) |
patch 8.0.0063v8.0.0063
Problem: Compiler warning for comparing with unsigned. (Zoltan Arpadffy)
Solution: Change <= to ==.
-rw-r--r-- | src/undo.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/undo.c b/src/undo.c index c9a80dc07f..cc74edd943 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 d8cfa19222..492a5277e9 100644 --- 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, |