mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.0.0063
Problem: Compiler warning for comparing with unsigned. (Zoltan Arpadffy) Solution: Change <= to ==.
This commit is contained in:
@@ -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. */
|
||||||
|
@@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user