]> gcc.gnu.org Git - gcc.git/commitdiff
* error.c (dump_expr): Fix format specifier warning.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Thu, 5 Dec 2002 22:20:51 +0000 (22:20 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Thu, 5 Dec 2002 22:20:51 +0000 (22:20 +0000)
From-SVN: r59867

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

index 3ea81f71794fa86536de4068ad19127f6aa0eecc..8d600ac74d0774a02994e91b25b5c77b440688e1 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 37f24ecc0b5def04fce2d3215665b1f2a5a784ae..da880f5fad4445b98afefce6bacadb4b3c7bd0b0 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
This page took 0.08182 seconds and 5 git commands to generate.