diff options
author | Janne Blomqvist <jb@gcc.gnu.org> | 2018-01-31 21:44:47 +0200 |
---|---|---|
committer | Janne Blomqvist <jb@gcc.gnu.org> | 2018-01-31 21:44:47 +0200 |
commit | 949b40a411d599d59efceaf47585db98763e5d71 (patch) | |
tree | 5abe17885373c0a5725e95a614ec2095afb34f0f /gcc/fortran/trans-const.c | |
parent | 6b9a302f3112d6702f6b6d67f3f346ac4b80e0eb (diff) | |
download | gcc-949b40a411d599d59efceaf47585db98763e5d71.zip gcc-949b40a411d599d59efceaf47585db98763e5d71.tar.gz gcc-949b40a411d599d59efceaf47585db98763e5d71.tar.bz2 |
Use gfc_charlen_t instead of int in gfc_conv_string_init
Committed as obvious.
2018-01-31 Janne Blomqvist <jb@gcc.gnu.org>
* trans-const.c (gfc_conv_string_init): Use gfc_charlen_t instead
of int for slen.
From-SVN: r257258
Diffstat (limited to 'gcc/fortran/trans-const.c')
-rw-r--r-- | gcc/fortran/trans-const.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/trans-const.c b/gcc/fortran/trans-const.c index 4b6adbf..07950dc 100644 --- a/gcc/fortran/trans-const.c +++ b/gcc/fortran/trans-const.c @@ -141,7 +141,7 @@ gfc_conv_string_init (tree length, gfc_expr * expr) { gfc_char_t *s; HOST_WIDE_INT len; - int slen; + gfc_charlen_t slen; tree str; bool free_s = false; |