diff options
Diffstat (limited to 'libgfortran/generated/cshift0_c10.c')
-rw-r--r-- | libgfortran/generated/cshift0_c10.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgfortran/generated/cshift0_c10.c b/libgfortran/generated/cshift0_c10.c index 16c113d..ec4bb8a 100644 --- a/libgfortran/generated/cshift0_c10.c +++ b/libgfortran/generated/cshift0_c10.c @@ -32,7 +32,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #if defined (HAVE_GFC_COMPLEX_10) void -cshift0_c10 (gfc_array_c10 *ret, const gfc_array_c10 *array, ssize_t shift, +cshift0_c10 (gfc_array_c10 *ret, const gfc_array_c10 *array, ptrdiff_t shift, int which) { /* r.* indicates the return array. */ @@ -97,7 +97,7 @@ cshift0_c10 (gfc_array_c10 *ret, const gfc_array_c10 *array, ssize_t shift, rptr = ret->data; sptr = array->data; - shift = len == 0 ? 0 : shift % (ssize_t)len; + shift = len == 0 ? 0 : shift % (ptrdiff_t)len; if (shift < 0) shift += len; |