diff mbox

[Fortran,committed] Add (long int) casting to libgfortran/m4/bessel.m4

Message ID 4C84167F.2040406@net-b.de
State New
Headers show

Commit Message

Tobias Burnus Sept. 5, 2010, 10:15 p.m. UTC
Committed as obvious (Rev. 163885).

Thanks to Jerry for reporting the warning (on 32bit).

Tobias
diff mbox

Patch

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.

Index: libgfortran/m4/bessel.m4
===================================================================
--- libgfortran/m4/bessel.m4	(Revision 163882)
+++ libgfortran/m4/bessel.m4	(Arbeitskopie)
@@ -67,7 +67,7 @@  bessel_jn_r'rtype_kind` ('rtype` * const
       && 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
       && 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);
 
Index: libgfortran/generated/bessel_r10.c
===================================================================
--- libgfortran/generated/bessel_r10.c	(Revision 163882)
+++ libgfortran/generated/bessel_r10.c	(Arbeitskopie)
@@ -66,7 +66,7 @@  bessel_jn_r10 (gfc_array_r10 * const res
       && 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);
 
@@ -134,7 +134,7 @@  bessel_yn_r10 (gfc_array_r10 * const res
       && 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);
 
Index: libgfortran/generated/bessel_r16.c
===================================================================
--- libgfortran/generated/bessel_r16.c	(Revision 163882)
+++ libgfortran/generated/bessel_r16.c	(Arbeitskopie)
@@ -70,7 +70,7 @@  bessel_jn_r16 (gfc_array_r16 * const res
       && 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);
 
@@ -138,7 +138,7 @@  bessel_yn_r16 (gfc_array_r16 * const res
       && 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);
 
Index: libgfortran/generated/bessel_r4.c
===================================================================
--- libgfortran/generated/bessel_r4.c	(Revision 163882)
+++ libgfortran/generated/bessel_r4.c	(Arbeitskopie)
@@ -66,7 +66,7 @@  bessel_jn_r4 (gfc_array_r4 * const restr
       && 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);
 
@@ -134,7 +134,7 @@  bessel_yn_r4 (gfc_array_r4 * const restr
       && 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);
 
Index: libgfortran/generated/bessel_r8.c
===================================================================
--- libgfortran/generated/bessel_r8.c	(Revision 163882)
+++ libgfortran/generated/bessel_r8.c	(Arbeitskopie)
@@ -66,7 +66,7 @@  bessel_jn_r8 (gfc_array_r8 * const restr
       && 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);
 
@@ -134,7 +134,7 @@  bessel_yn_r8 (gfc_array_r8 * const restr
       && 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);