Part 1 of PR25561, fix compile warnings forgotten in actual commit.
From-SVN: r135379
This commit is contained in:
parent
7c1b4aba72
commit
3044d36951
2 changed files with 2 additions and 2 deletions
|
@ -126,7 +126,7 @@ fbuf_seek (gfc_unit * u, gfc_offset off)
|
|||
if (pos < 0)
|
||||
return -1;
|
||||
u->fbuf->ptr = u->fbuf->buf + pos;
|
||||
if (pos > u->fbuf->act)
|
||||
if (pos > (gfc_offset) u->fbuf->act)
|
||||
u->fbuf->act = pos;
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -2290,7 +2290,7 @@ skip_record (st_parameter_dt *dtp, size_t bytes)
|
|||
{
|
||||
rlength =
|
||||
(MAX_READ > (size_t) dtp->u.p.current_unit->bytes_left_subrecord) ?
|
||||
MAX_READ : dtp->u.p.current_unit->bytes_left_subrecord;
|
||||
MAX_READ : (size_t) dtp->u.p.current_unit->bytes_left_subrecord;
|
||||
|
||||
if (sread (dtp->u.p.current_unit->s, p, &rlength) != 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue