0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.0.0063

Problem:    Compiler warning for comparing with unsigned. (Zoltan Arpadffy)
Solution:   Change <= to ==.
This commit is contained in:
Bram Moolenaar
2016-11-05 14:58:34 +01:00
parent 8161551724
commit 55952d4dd4
2 changed files with 3 additions and 1 deletions

View File

@@ -1076,7 +1076,7 @@ undo_read(bufinfo_T *bi, char_u *buffer, size_t size)
if (bi->bi_used >= bi->bi_avail) if (bi->bi_used >= bi->bi_avail)
{ {
n = fread(bi->bi_buffer, 1, (size_t)CRYPT_BUF_SIZE, bi->bi_fp); 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, /* Error may be checked for only later. Fill with zeros,
* so that the reader won't use garbage. */ * so that the reader won't use garbage. */

View File

@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
63,
/**/ /**/
62, 62,
/**/ /**/