From: Thomas Koenig Date: Tue, 22 Jul 2008 10:27:10 +0000 (+0000) Subject: re PR fortran/36890 (libgfortran/io/file_pos.c:55: warning: comparison between signed... X-Git-Tag: releases/gcc-4.4.0~3743 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a799ae7a6714d267309dd89fbd291d51ed02b7d;p=thirdparty%2Fgcc.git re PR fortran/36890 (libgfortran/io/file_pos.c:55: warning: comparison between signed and unsigned) 2008-07-22 Thomas Koenig PR libfortran/36890 * io/file_pos.c: Declare READ_CHUNK as signed to avoid signed/unsigned comparison warning in formatted_backspace. From-SVN: r138050 --- diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index b485123cb7b1..2437c4f379c0 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,9 @@ +2008-07-22 Thomas Koenig + + 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 PR libfortran/36773 diff --git a/libgfortran/io/file_pos.c b/libgfortran/io/file_pos.c index f4864884f331..89c67365429a 100644 --- a/libgfortran/io/file_pos.c +++ b/libgfortran/io/file_pos.c @@ -39,7 +39,7 @@ Boston, MA 02110-1301, USA. */ record, and we have to sift backwards to find the newline before 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 formatted_backspace (st_parameter_filepos *fpp, gfc_unit *u)