summaryrefslogtreecommitdiff
path: root/libgfortran/generated/all_l8.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/all_l8.c')
-rw-r--r--libgfortran/generated/all_l8.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libgfortran/generated/all_l8.c b/libgfortran/generated/all_l8.c
index 00ba59f1034..8e7a659a283 100644
--- a/libgfortran/generated/all_l8.c
+++ b/libgfortran/generated/all_l8.c
@@ -119,8 +119,9 @@ all_l8 (gfc_array_l8 * const restrict retarray,
{
if (rank != GFC_DESCRIPTOR_RANK (retarray))
runtime_error ("rank of return array incorrect in"
- " ALL intrinsic: is %d, should be %d",
- GFC_DESCRIPTOR_RANK (retarray), rank);
+ " ALL intrinsic: is %ld, should be %ld",
+ (long int) GFC_DESCRIPTOR_RANK (retarray),
+ (long int) rank);
if (compile_options.bounds_check)
{