aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/libgfortran/m4/in_pack.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/libgfortran/m4/in_pack.m4')
-rw-r--r--gcc-4.9/libgfortran/m4/in_pack.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc-4.9/libgfortran/m4/in_pack.m4 b/gcc-4.9/libgfortran/m4/in_pack.m4
index 9d515d42b..a807e71e5 100644
--- a/gcc-4.9/libgfortran/m4/in_pack.m4
+++ b/gcc-4.9/libgfortran/m4/in_pack.m4
@@ -79,7 +79,7 @@ internal_pack_'rtype_ccode` ('rtype` * source)
return source->base_addr;
/* Allocate storage for the destination. */
- destptr = ('rtype_name` *)xmalloc (ssize * sizeof ('rtype_name`));
+ destptr = xmallocarray (ssize, sizeof ('rtype_name`));
dest = destptr;
src = source->base_addr;
stride0 = stride[0];