aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/generated/transpose_i4.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/transpose_i4.c')
-rw-r--r--libgfortran/generated/transpose_i4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/generated/transpose_i4.c b/libgfortran/generated/transpose_i4.c
index 0945d06..af5041e 100644
--- a/libgfortran/generated/transpose_i4.c
+++ b/libgfortran/generated/transpose_i4.c
@@ -63,7 +63,7 @@ transpose_i4 (gfc_array_i4 * ret, gfc_array_i4 * source)
ret->dim[1].ubound = source->dim[0].ubound - source->dim[0].lbound;
ret->dim[1].stride = ret->dim[0].ubound+1;
- ret->data = internal_malloc_size (sizeof (GFC_INTEGER_4) * size0 (ret));
+ ret->data = internal_malloc_size (sizeof (GFC_INTEGER_4) * size0 ((array_t *) ret));
ret->base = 0;
}