aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/arith.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@gcc.gnu.org>2019-11-08 17:48:41 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2019-11-08 17:48:41 +0100
commit77b29023e12eb3e906026380549d57dfcc44b433 (patch)
tree130f172f3ae826f81de2de28759b5418d32afecb /gcc/fortran/arith.c
parentd308ca27c71e43625b378dc6c2774105867d4fa7 (diff)
downloadgcc-77b29023e12eb3e906026380549d57dfcc44b433.zip
gcc-77b29023e12eb3e906026380549d57dfcc44b433.tar.gz
gcc-77b29023e12eb3e906026380549d57dfcc44b433.tar.bz2
* arith.c (character2representation): Change i type to size_t.
From-SVN: r277978
Diffstat (limited to 'gcc/fortran/arith.c')
-rw-r--r--gcc/fortran/arith.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/fortran/arith.c b/gcc/fortran/arith.c
index 10b3e5c..a40163e 100644
--- a/gcc/fortran/arith.c
+++ b/gcc/fortran/arith.c
@@ -2534,8 +2534,7 @@ hollerith2representation (gfc_expr *result, gfc_expr *src)
static void
character2representation (gfc_expr *result, gfc_expr *src)
{
- size_t src_len, result_len;
- int i;
+ size_t src_len, result_len, i;
src_len = src->value.character.length;
gfc_target_expr_size (result, &result_len);