[Bug fortran/36890] libgfortran/io/file_pos.c:55: warning: comparison between signed and unsigned
tkoenig at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Jul 22 08:31:00 GMT 2008
------- Comment #1 from tkoenig at gcc dot gnu dot org 2008-07-22 08:30 -------
This is caused by
static const unsigned int READ_CHUNK = 4096;
and, further down,
n = (base < READ_CHUNK) ? base : READ_CHUNK;
where base is a gfc_offset (a signed quantity).
The "unsigned" is unnecessary. I'll commit a patch removing
this as obvious.
--
tkoenig at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |tkoenig at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-07-22 08:30:26
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36890
More information about the Gcc-bugs
mailing list