diff options
Diffstat (limited to 'libgfortran/generated/shape_i8.c')
-rw-r--r-- | libgfortran/generated/shape_i8.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/generated/shape_i8.c b/libgfortran/generated/shape_i8.c index 7b4dac61d9e..bec047d2e73 100644 --- a/libgfortran/generated/shape_i8.c +++ b/libgfortran/generated/shape_i8.c @@ -49,7 +49,7 @@ shape_8 (gfc_array_i8 * const restrict ret, { GFC_DIMENSION_SET(ret->dim[0], 0, rank, sizeof (GFC_INTEGER_8)); ret->offset = 0; - ret->base_addr = xmalloc (sizeof (GFC_INTEGER_8) * rank); + ret->base_addr = xmallocarray (rank, sizeof (GFC_INTEGER_8)); } stride = GFC_DESCRIPTOR_STRIDE_TYPEKNOWN(ret,0); |