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

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

index 116b6b50324c2495f928a10c204641f891f61360..ca47c07407077d184513b1c59cc726ce0319e8dd 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  Gabriel Dos Reis  <gdr@integrable-solutions.net>
 
        PR C++/8799
index 659e60c26fc2740232fdbf9ffe5e8514195c3bee..75b1b703367663a77018f066e067e8096353d696 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