summaryrefslogtreecommitdiff
path: root/gcc/c-format.c
diff options
context:
space:
mode:
authorespindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-11 15:40:55 +0000
committerespindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-11 15:40:55 +0000
commit11773141a9a1b8b945255eb8dbcde0d9e25c4e6f (patch)
tree09e966f66888827cc56e0e29aacd33c5d45e7819 /gcc/c-format.c
parent2bff6d8b45f3a32ac3ecd70e9f3898f8feba88b5 (diff)
downloadgcc-11773141a9a1b8b945255eb8dbcde0d9e25c4e6f.tar.gz
really remove signed(_or_unsigned)?_type langhooks
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125621 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-format.c')
-rw-r--r--gcc/c-format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-format.c b/gcc/c-format.c
index 92e4ee61b0c..a64e30984ee 100644
--- a/gcc/c-format.c
+++ b/gcc/c-format.c
@@ -2249,7 +2249,7 @@ check_format_types (format_wanted_type *types, const char *format_start,
&& TREE_CODE (cur_type) == INTEGER_TYPE
&& (!pedantic || i == 0 || (i == 1 && char_type_flag))
&& (TYPE_UNSIGNED (wanted_type)
- ? wanted_type == unsigned_type_for (cur_type)
+ ? wanted_type == c_common_unsigned_type (cur_type)
: wanted_type == c_common_signed_type (cur_type)))
continue;
/* Likewise, "signed char", "unsigned char" and "char" are