diff options
author | Thomas Koenig <tkoenig@gcc.gnu.org> | 2008-07-22 10:27:10 +0000 |
---|---|---|
committer | Thomas Koenig <tkoenig@gcc.gnu.org> | 2008-07-22 10:27:10 +0000 |
commit | 4a799ae7a6714d267309dd89fbd291d51ed02b7d (patch) | |
tree | 4f3ab04944aa4e3357999f9eb2f02f4ac04b6f7e /libgfortran/io/file_pos.c | |
parent | 3b8f20a10d59773f19a43affa79dd7db7846db11 (diff) | |
download | gcc-4a799ae7a6714d267309dd89fbd291d51ed02b7d.tar.gz |
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
Diffstat (limited to 'libgfortran/io/file_pos.c')
-rw-r--r-- | libgfortran/io/file_pos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/io/file_pos.c b/libgfortran/io/file_pos.c index f4864884f33..89c67365429 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) |