Commit 42b99e03 by Kaveh R. Ghazi Committed by Kaveh Ghazi

* error.c (dump_expr): Fix format specifier warning.

From-SVN: r59867
parent 94f09825
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.
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment