diff options
Diffstat (limited to 'libgfortran/generated/count_4_l16.c')
-rw-r--r-- | libgfortran/generated/count_4_l16.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libgfortran/generated/count_4_l16.c b/libgfortran/generated/count_4_l16.c index c3b3daad85a..5dee5468c64 100644 --- a/libgfortran/generated/count_4_l16.c +++ b/libgfortran/generated/count_4_l16.c @@ -116,8 +116,9 @@ count_4_l16 (gfc_array_i4 * const restrict retarray, { if (rank != GFC_DESCRIPTOR_RANK (retarray)) runtime_error ("rank of return array incorrect in" - " COUNT intrinsic: is %d, should be %d", - GFC_DESCRIPTOR_RANK (retarray), rank); + " COUNT intrinsic: is %ld, should be %ld", + (long int) (GFC_DESCRIPTOR_RANK (retarray)), + (long int) rank); if (compile_options.bounds_check) { @@ -129,8 +130,8 @@ count_4_l16 (gfc_array_i4 * const restrict retarray, - retarray->dim[n].lbound; if (extent[n] != ret_extent) runtime_error ("Incorrect extent in return value of" - " COUNT intrinsic in dimension %d:" - " is %ld, should be %ld", n + 1, + " COUNT intrinsic in dimension %ld:" + " is %ld, should be %ld", (long int) n + 1, (long int) ret_extent, (long int) extent[n]); } } |