summaryrefslogtreecommitdiff
path: root/libgfortran/generated/matmul_l16.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/matmul_l16.c')
-rw-r--r--libgfortran/generated/matmul_l16.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/generated/matmul_l16.c b/libgfortran/generated/matmul_l16.c
index bc600300966..370db0731cf 100644
--- a/libgfortran/generated/matmul_l16.c
+++ b/libgfortran/generated/matmul_l16.c
@@ -88,7 +88,7 @@ matmul_l16 (gfc_array_l16 * const restrict retarray,
}
retarray->base_addr
- = xmalloc (sizeof (GFC_LOGICAL_16) * size0 ((array_t *) retarray));
+ = xmallocarray (size0 ((array_t *) retarray), sizeof (GFC_LOGICAL_16));
retarray->offset = 0;
}
else if (unlikely (compile_options.bounds_check))