From c75dca4902ad96d90237f6ab49c368ecb1ff3e52 Mon Sep 17 00:00:00 2001 From: jb Date: Tue, 12 Apr 2011 19:27:49 +0000 Subject: Cleanup memsize types git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172340 138bc75d-0d04-0410-961f-82ee72b054a4 --- libgfortran/generated/cshift0_i1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libgfortran/generated/cshift0_i1.c') diff --git a/libgfortran/generated/cshift0_i1.c b/libgfortran/generated/cshift0_i1.c index 7ed44bddb78..65173e3cc6a 100644 --- a/libgfortran/generated/cshift0_i1.c +++ b/libgfortran/generated/cshift0_i1.c @@ -32,7 +32,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #if defined (HAVE_GFC_INTEGER_1) void -cshift0_i1 (gfc_array_i1 *ret, const gfc_array_i1 *array, ssize_t shift, +cshift0_i1 (gfc_array_i1 *ret, const gfc_array_i1 *array, ptrdiff_t shift, int which) { /* r.* indicates the return array. */ @@ -97,7 +97,7 @@ cshift0_i1 (gfc_array_i1 *ret, const gfc_array_i1 *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; -- cgit v1.2.1