diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2002-12-05 22:20:51 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2002-12-05 22:20:51 +0000 |
commit | 42b99e0340fe3816266a5501deb8471d4df18661 (patch) | |
tree | de35911419a3eef784a670f713339d5ddec5f73d /gcc/cp/error.c | |
parent | 94f09825cbb53c672d72188a136f7589575e5259 (diff) | |
download | gcc-42b99e0340fe3816266a5501deb8471d4df18661.zip gcc-42b99e0340fe3816266a5501deb8471d4df18661.tar.gz gcc-42b99e0340fe3816266a5501deb8471d4df18661.tar.bz2 |
* error.c (dump_expr): Fix format specifier warning.
From-SVN: r59867
Diffstat (limited to 'gcc/cp/error.c')
-rw-r--r-- | gcc/cp/error.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cp/error.c b/gcc/cp/error.c index 37f24ec..da880f5 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -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 |