jcf-dump.c (print_constant): Use HOST_LONG_LONG_FORMAT.
authorAaron W. LaFramboise <aaronavay62@aaronwl.com>
Tue, 13 May 2008 01:17:49 +0000 (19:17 -0600)
committerAaron W. LaFramboise <aaronwl@gcc.gnu.org>
Tue, 13 May 2008 01:17:49 +0000 (19:17 -0600)
2008-05-12  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>

* jcf-dump.c (print_constant): Use
HOST_LONG_LONG_FORMAT.

From-SVN: r135252

gcc/java/ChangeLog
gcc/java/jcf-dump.c

index 411806af5a854c5bc1f769f366a546f1f33568f2..750e671682249c9b472c5f571605d05e712a2973 100644 (file)
@@ -1,3 +1,8 @@
+2008-05-12  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
+
+       * jcf-dump.c (print_constant): Use
+       HOST_LONG_LONG_FORMAT.
+
 2008-05-07  Kenneth Zadeck <zadeck@naturalbridge.com>
 
        * decl.c (java_init_decl_processing): Change DECL_IS_PURE to
index 3cc996a9a60df5b63ee23eccf1e757821b7aae81..7615f97b7f20e7716b497f405d45eee8d6c48b2a 100644 (file)
@@ -850,9 +850,11 @@ print_constant (FILE *out, JCF *jcf, int index, int verbosity)
            if (dnum.mantissa0 == 0 && dnum.mantissa1 == 0)
              fputs ("Inf", out);
            else if (dnum.mantissa0 & JDOUBLE_QNAN_MASK)
-             fprintf (out, "QNaN(%llu)", (unsigned long long)mantissa);
+             fprintf (out, "QNaN(%" HOST_LONG_LONG_FORMAT "u)",
+                (unsigned long long)mantissa);
            else
-             fprintf (out, "SNaN(%llu)", (unsigned long long)mantissa);
+             fprintf (out, "SNaN(%" HOST_LONG_LONG_FORMAT "u)",
+                (unsigned long long)mantissa);
          }
        if (verbosity > 1)
          {