summaryrefslogtreecommitdiff
path: root/libgfortran/generated/cshift0_c16.c
diff options
context:
space:
mode:
authorJanne Blomqvist <jb@gcc.gnu.org>2011-04-12 22:27:49 +0300
committerJanne Blomqvist <jb@gcc.gnu.org>2011-04-12 22:27:49 +0300
commit44720bef9d5a11cf39c1eabbeb2c0739d0504ef8 (patch)
tree17933ebe7d8de121ec47c896cf51dd424e7498fd /libgfortran/generated/cshift0_c16.c
parent99ee02511431124acbfded6350ce5f857664560d (diff)
Cleanup memsize types
From-SVN: r172340
Diffstat (limited to 'libgfortran/generated/cshift0_c16.c')
-rw-r--r--libgfortran/generated/cshift0_c16.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgfortran/generated/cshift0_c16.c b/libgfortran/generated/cshift0_c16.c
index df83ccb85f4..ac7e8b762c7 100644
--- a/libgfortran/generated/cshift0_c16.c
+++ b/libgfortran/generated/cshift0_c16.c
@@ -32,7 +32,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#if defined (HAVE_GFC_COMPLEX_16)
void
-cshift0_c16 (gfc_array_c16 *ret, const gfc_array_c16 *array, ssize_t shift,
+cshift0_c16 (gfc_array_c16 *ret, const gfc_array_c16 *array, ptrdiff_t shift,
int which)
{
/* r.* indicates the return array. */
@@ -97,7 +97,7 @@ cshift0_c16 (gfc_array_c16 *ret, const gfc_array_c16 *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;