Commit 9cf7bfd9 by Janne Blomqvist

PR 83070 Fix -Wsign-compare warning

2017-11-22  Janne Blomqvist  <jb@gcc.gnu.org>

        PR libfortran/83070
        * intrinsics/eoshift0.c (eoshift0): Fix -Wsign-compare warning by
        making a_ex and r_ex index_type instead of size_t.

From-SVN: r255045
parent 8f8e5326
2017-11-22 Janne Blomqvist <jb@gcc.gnu.org>
PR libfortran/83070
* intrinsics/eoshift0.c (eoshift0): Fix -Wsign-compare warning by
making a_ex and r_ex index_type instead of size_t.
2017-11-20 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/78549
......
......@@ -107,7 +107,7 @@ eoshift0 (gfc_array_char * ret, const gfc_array_char * array,
if (which > 0)
{
/* Test if both ret and array are contiguous. */
size_t r_ex, a_ex;
index_type r_ex, a_ex;
r_ex = 1;
a_ex = 1;
do_blocked = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment