aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/m4
diff options
context:
space:
mode:
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>2008-02-25 12:02:56 +0000
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>2008-02-25 12:02:56 +0000
commit5095283b2f1c41685d4bc2785073975c757e2a52 (patch)
treec455f08089c0afe6f9e99ba132bb403a14bbc8fd /libgfortran/m4
parent98266db06cfe6cdf30e6e6052f056ec1277b49ce (diff)
downloadgcc-5095283b2f1c41685d4bc2785073975c757e2a52.zip
gcc-5095283b2f1c41685d4bc2785073975c757e2a52.tar.gz
gcc-5095283b2f1c41685d4bc2785073975c757e2a52.tar.bz2
ifunction_logical.m4: Add casts to get rid of warnings.
* m4/ifunction_logical.m4: Add casts to get rid of warnings. * generated/all_l1.c: Regenerate. * generated/all_l2.c: Regenerate. * generated/all_l4.c: Regenerate. * generated/all_l8.c: Regenerate. * generated/all_l16.c: Regenerate. * generated/any_l1.c: Regenerate. * generated/any_l2.c: Regenerate. * generated/any_l4.c: Regenerate. * generated/any_l8.c: Regenerate. * generated/any_l16.c: Regenerate. * generated/count_1_l.c: Regenerate. * generated/count_2_l.c: Regenerate. * generated/count_4_l.c: Regenerate. * generated/count_8_l.c: Regenerate. * generated/count_16_l.c: Regenerate. From-SVN: r132619
Diffstat (limited to 'libgfortran/m4')
-rw-r--r--libgfortran/m4/ifunction_logical.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/libgfortran/m4/ifunction_logical.m4 b/libgfortran/m4/ifunction_logical.m4
index b2acb32..8666870 100644
--- a/libgfortran/m4/ifunction_logical.m4
+++ b/libgfortran/m4/ifunction_logical.m4
@@ -102,8 +102,9 @@ name`'rtype_qual`_'atype_code (rtype * const restrict retarray,
{
if (rank != GFC_DESCRIPTOR_RANK (retarray))
runtime_error ("rank of return array incorrect in"
- " u_name intrinsic: is %d, should be %d",
- GFC_DESCRIPTOR_RANK (retarray), rank);
+ " u_name intrinsic: is %ld, should be %ld",
+ (long int) GFC_DESCRIPTOR_RANK (retarray),
+ (long int) rank);
if (compile_options.bounds_check)
{