Skip to content

Commit 55952d4

Browse files
committed
patch 8.0.0063
Problem: Compiler warning for comparing with unsigned. (Zoltan Arpadffy) Solution: Change <= to ==.
1 parent 8161551 commit 55952d4

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/undo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,7 @@ undo_read(bufinfo_T *bi, char_u *buffer, size_t size)
10761076
if (bi->bi_used >= bi->bi_avail)
10771077
{
10781078
n = fread(bi->bi_buffer, 1, (size_t)CRYPT_BUF_SIZE, bi->bi_fp);
1079-
if (n <= 0)
1079+
if (n == 0)
10801080
{
10811081
/* Error may be checked for only later. Fill with zeros,
10821082
* so that the reader won't use garbage. */

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
63,
767769
/**/
768770
62,
769771
/**/

0 commit comments

Comments
 (0)