summaryrefslogtreecommitdiff
path: root/libgfortran/generated/unpack_i4.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/unpack_i4.c')
-rw-r--r--libgfortran/generated/unpack_i4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgfortran/generated/unpack_i4.c b/libgfortran/generated/unpack_i4.c
index 5035a818c60..a1c7678d13e 100644
--- a/libgfortran/generated/unpack_i4.c
+++ b/libgfortran/generated/unpack_i4.c
@@ -100,7 +100,7 @@ unpack0_i4 (gfc_array_i4 *ret, const gfc_array_i4 *vector,
rs *= extent[n];
}
ret->offset = 0;
- ret->base_addr = internal_malloc_size (rs * sizeof (GFC_INTEGER_4));
+ ret->base_addr = xmalloc (rs * sizeof (GFC_INTEGER_4));
}
else
{
@@ -246,7 +246,7 @@ unpack1_i4 (gfc_array_i4 *ret, const gfc_array_i4 *vector,
rs *= extent[n];
}
ret->offset = 0;
- ret->base_addr = internal_malloc_size (rs * sizeof (GFC_INTEGER_4));
+ ret->base_addr = xmalloc (rs * sizeof (GFC_INTEGER_4));
}
else
{