* decl.c (java_init_decl_processing): Use `LL' on 64-bit constant.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Thu, 28 Nov 2002 02:12:01 +0000 (02:12 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Thu, 28 Nov 2002 02:12:01 +0000 (02:12 +0000)
From-SVN: r59594

gcc/java/ChangeLog
gcc/java/decl.c

index 0ffb2e04c2ee4b448310674f6470335cbf723cc9..432c7b584460309b11c089f164a68b971967aa1e 100644 (file)
@@ -1,3 +1,7 @@
+2002-11-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * decl.c (java_init_decl_processing): Use `LL' on 64-bit constant.
+
 2002-11-25  Diego Novillo  <dnovillo@redhat.com>
 
        * jcf-reader.c: Don't expand JCF_readu4 inside the
index 9e8efefca9048ce3268470a4595c4f5244705867..5aa8a91afd41585d2c2492486f063635de7bf037 100644 (file)
@@ -464,7 +464,7 @@ java_init_decl_processing ()
   decimal_int_max = build_int_2 (0x80000000, 0);
   TREE_TYPE (decimal_int_max) = unsigned_int_type_node;
 #if HOST_BITS_PER_WIDE_INT == 64
-  decimal_long_max = build_int_2 (0x8000000000000000, 0);
+  decimal_long_max = build_int_2 (0x8000000000000000LL, 0);
 #else
 #if HOST_BITS_PER_WIDE_INT == 32
   decimal_long_max = build_int_2 (0, 0x80000000);