diff options
author | Janne Blomqvist <jb@gcc.gnu.org> | 2011-04-12 22:27:49 +0300 |
---|---|---|
committer | Janne Blomqvist <jb@gcc.gnu.org> | 2011-04-12 22:27:49 +0300 |
commit | 44720bef9d5a11cf39c1eabbeb2c0739d0504ef8 (patch) | |
tree | 17933ebe7d8de121ec47c896cf51dd424e7498fd /libgfortran/generated/cshift0_c4.c | |
parent | 99ee02511431124acbfded6350ce5f857664560d (diff) | |
download | gcc-44720bef9d5a11cf39c1eabbeb2c0739d0504ef8.zip gcc-44720bef9d5a11cf39c1eabbeb2c0739d0504ef8.tar.gz gcc-44720bef9d5a11cf39c1eabbeb2c0739d0504ef8.tar.bz2 |
Cleanup memsize types
From-SVN: r172340
Diffstat (limited to 'libgfortran/generated/cshift0_c4.c')
-rw-r--r-- | libgfortran/generated/cshift0_c4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgfortran/generated/cshift0_c4.c b/libgfortran/generated/cshift0_c4.c index 52d277f..482af77 100644 --- a/libgfortran/generated/cshift0_c4.c +++ b/libgfortran/generated/cshift0_c4.c @@ -32,7 +32,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #if defined (HAVE_GFC_COMPLEX_4) void -cshift0_c4 (gfc_array_c4 *ret, const gfc_array_c4 *array, ssize_t shift, +cshift0_c4 (gfc_array_c4 *ret, const gfc_array_c4 *array, ptrdiff_t shift, int which) { /* r.* indicates the return array. */ @@ -97,7 +97,7 @@ cshift0_c4 (gfc_array_c4 *ret, const gfc_array_c4 *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; |