PR 83704 Use size_t in write_character
authorDominique d'Humieres <dominiq@lps.ens.fr>
Sat, 6 Jan 2018 19:09:52 +0000 (20:09 +0100)
committerJanne Blomqvist <jb@gcc.gnu.org>
Sat, 6 Jan 2018 19:09:52 +0000 (21:09 +0200)
commitd9bb51cdd3a22baa705228733ff0995aabd9407c
tree3b46dc14d9d91f2867f24fde1fd7e2e2db792190
parentb4c969723c1e61dbdaadc61b0b5fd5393e9ff76e
PR 83704 Use size_t in write_character

For printing long characters, we need to use size_t instead of int in
the argument to write_character.

Regtested on x86_64-pc-linux-gnu, approved in the PR, committed to
trunk.

libgfortran/ChangeLog:

2018-01-06  Dominique d'Humieres  <dominiq@lps.ens.fr>
    Janne Blomqvist  <jb@gcc.gnu.org>

PR fortran/83704
* io/write.c (write_character): Use size_t instead of int for
length.

Co-Authored-By: Janne Blomqvist <jb@gcc.gnu.org>
From-SVN: r256313
libgfortran/ChangeLog
libgfortran/io/write.c