]> git.ipfire.org Git - thirdparty/gcc.git/commit
Use gfc_charlen_type instead of int for string lenghts
authorjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 6 Oct 2018 18:21:00 +0000 (18:21 +0000)
committerjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 6 Oct 2018 18:21:00 +0000 (18:21 +0000)
commit35d5443a1b262e5a7d1b07545e931b9149a239f8
treeddca4a4c0044e8700f01e926f370781e4f702a5b
parent32bfbd96240b03dc5d581e38b70ca9304e2b91af
Use gfc_charlen_type instead of int for string lenghts

This patch cleans up a few places where I noticed the code was still
using int instead gfc_charlen_type for string lengths.  Regtested on
x86_64-pc-linux-gnu, committed as obvious.

libgfortran/ChangeLog:

2018-10-06  Janne Blomqvist  <jb@gcc.gnu.org>

* io/unix.c (compare_file_filename): Use gfc_charlen_type instead
of int for string length.
(inquire_sequential): Likewise.
(inquire_direct): Likewise.
(inquire_formatted): Likewise.
(inquire_unformatted): Likewise.
(inquire_access): Likewise.
(inquire_read): Likewise.
(inquire_write): Likewise.
(inquire_readwrite): Likewise.
* io/unix.h (compare_file_filename): Likewise.
(inquire_sequential): Likewise.
(inquire_direct): Likewise.
(inquire_formatted): Likewise.
(inquire_unformatted): Likewise.
(inquire_read): Likewise.
(inquire_write): Likewise.
(inquire_readwrite): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@264901 138bc75d-0d04-0410-961f-82ee72b054a4
libgfortran/ChangeLog
libgfortran/io/unix.c
libgfortran/io/unix.h