OSDN Git Service

* m4/ifunction_logical.m4: Add casts to get rid of warnings.
[pf3gnuchains/gcc-fork.git] / libgfortran / generated / all_l8.c
index 00ba59f..8e7a659 100644 (file)
@@ -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)
        {