* error.c (dump_expr): Fix format specifier warning.
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Dec 2002 22:20:51 +0000 (22:20 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Dec 2002 22:20:51 +0000 (22:20 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59867 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/error.c

index 3ea81f7..8d600ac 100644 (file)
@@ -1,3 +1,7 @@
+2002-12-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * error.c (dump_expr): Fix format specifier warning.
+
 2002-12-04  Geoffrey Keating  <geoffk@apple.com>
 
        * class.c (finish_struct_1): Correct comment.
index 37f24ec..da880f5 100644 (file)
@@ -1479,7 +1479,8 @@ dump_expr (t, flags)
            if (host_integerp (t, TREE_UNSIGNED (type)))
              dump_char (tree_low_cst (t, TREE_UNSIGNED (type)));
            else
-             output_printf (scratch_buffer, "\\x%x", TREE_INT_CST_LOW (t));
+             output_printf (scratch_buffer, "\\x%x",
+                            (unsigned int) TREE_INT_CST_LOW (t));
            output_add_character (scratch_buffer, '\'');
          }
        else