summaryrefslogtreecommitdiff
path: root/libgfortran/m4/bessel.m4
diff options
context:
space:
mode:
authorTobias Burnus <burnus@net-b.de>2010-09-06 00:14:14 +0200
committerTobias Burnus <burnus@gcc.gnu.org>2010-09-06 00:14:14 +0200
commit28cc1e9a8a81cfca5c7dd193bd45a95acbcb2b6b (patch)
tree156d8a8c3c400e31af94d753d6d2004b983c6f54 /libgfortran/m4/bessel.m4
parent0a0b3574de3a5965eebb920d3da48771710ef94b (diff)
downloadgcc-28cc1e9a8a81cfca5c7dd193bd45a95acbcb2b6b.tar.gz
bessel.m4: Fix printf warning by casting to (long int).
2010-09-05 Tobias Burnus <burnus@net-b.de> * m4/bessel.m4: Fix printf warning by casting to (long int). * generated/bessel_r4.c:Regenerated. * generated/bessel_r8.c: Regenerated. * generated/bessel_r10.c: Regenerated. * generated/bessel_r16.c: Regenerated. From-SVN: r163885
Diffstat (limited to 'libgfortran/m4/bessel.m4')
-rw-r--r--libgfortran/m4/bessel.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/libgfortran/m4/bessel.m4 b/libgfortran/m4/bessel.m4
index 3df8f1d1849..acef7eaa718 100644
--- a/libgfortran/m4/bessel.m4
+++ b/libgfortran/m4/bessel.m4
@@ -67,7 +67,7 @@ bessel_jn_r'rtype_kind` ('rtype` * const restrict ret, int n1, int n2, 'rtype_na
&& GFC_DESCRIPTOR_EXTENT(ret,0) != (n2-n1+1))
runtime_error("Incorrect extent in return value of BESSEL_JN "
"(%ld vs. %ld)", (long int) n2-n1,
- GFC_DESCRIPTOR_EXTENT(ret,0));
+ (long int) GFC_DESCRIPTOR_EXTENT(ret,0));
stride = GFC_DESCRIPTOR_STRIDE(ret,0);
@@ -135,7 +135,7 @@ bessel_yn_r'rtype_kind` ('rtype` * const restrict ret, int n1, int n2,
&& GFC_DESCRIPTOR_EXTENT(ret,0) != (n2-n1+1))
runtime_error("Incorrect extent in return value of BESSEL_JN "
"(%ld vs. %ld)", (long int) n2-n1,
- GFC_DESCRIPTOR_EXTENT(ret,0));
+ (long int) GFC_DESCRIPTOR_EXTENT(ret,0));
stride = GFC_DESCRIPTOR_STRIDE(ret,0);