Permalink
Browse files

patch 8.0.0063

Problem:    Compiler warning for comparing with unsigned. (Zoltan Arpadffy)
Solution:   Change <= to ==.
  • Loading branch information...
1 parent 8161551 commit 55952d4dd490bb2f63bda5d7f6d8fb69f58c333c @brammool brammool committed Nov 5, 2016
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/undo.c
  2. +2 −0 src/version.c
View
@@ -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. */
View
@@ -765,6 +765,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 63,
+/**/
62,
/**/
61,

0 comments on commit 55952d4

Please sign in to comment.