diff options
Diffstat (limited to 'gcc/cp/parser.c')
-rw-r--r-- | gcc/cp/parser.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index de9e084dd5f..12452e689ff 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -4025,14 +4025,14 @@ cp_parser_userdef_numeric_literal (cp_parser *parser) { warning_at (token->location, OPT_Woverflow, "integer literal exceeds range of %qT type", - TREE_CAST (long_long_unsigned_type_node)); + long_long_unsigned_type_node); } else { if (overflow > 0) warning_at (token->location, OPT_Woverflow, "floating literal exceeds range of %qT type", - TREE_CAST (long_double_type_node)); + long_double_type_node); else if (overflow < 0) warning_at (token->location, OPT_Woverflow, "floating literal truncated to zero"); @@ -4130,7 +4130,7 @@ cp_parser_userdef_string_literal (tree literal) release_tree_vector (args); error ("unable to find string literal operator %qD with %qT, %qT arguments", - name, TREE_TYPE (value), TREE_CAST (size_type_node)); + name, TREE_TYPE (value), size_type_node); return error_mark_node; } |