re PR fortran/36890 (libgfortran/io/file_pos.c:55: warning: comparison between signed and unsigned)

2008-07-22  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR libfortran/36890
	* io/file_pos.c:  Declare READ_CHUNK as signed to avoid
	signed/unsigned comparison warning in formatted_backspace.

From-SVN: r138050
This commit is contained in:
Thomas Koenig 2008-07-22 10:27:10 +00:00
parent 3b8f20a10d
commit 4a799ae7a6
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2008-07-22 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/36890
* io/file_pos.c: Declare READ_CHUNK as signed to avoid
signed/unsigned comparison warning in formatted_backspace.
2008-07-21 Thomas Koenig <tkoenig@gcc.gnu.org> 2008-07-21 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/36773 PR libfortran/36773

View File

@ -39,7 +39,7 @@ Boston, MA 02110-1301, USA. */
record, and we have to sift backwards to find the newline before record, and we have to sift backwards to find the newline before
that or the start of the file, whichever comes first. */ that or the start of the file, whichever comes first. */
static const unsigned int READ_CHUNK = 4096; static const int READ_CHUNK = 4096;
static void static void
formatted_backspace (st_parameter_filepos *fpp, gfc_unit *u) formatted_backspace (st_parameter_filepos *fpp, gfc_unit *u)