From 4215e49850cfdc5a8dbb13f8d248bb450f2c0fef Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Sun, 10 Oct 1993 05:28:35 +0000 Subject: [PATCH] (check_format_info): Avoid ?: conditional for function to be called. From-SVN: r5704 --- gcc/c-common.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gcc/c-common.c b/gcc/c-common.c index 2af1ea91e0c..19fa2669ffb 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -865,8 +865,9 @@ check_format_info (info, params) /* Don't warn about differences merely in signedness. */ && !(TREE_CODE (wanted_type) == INTEGER_TYPE && TREE_CODE (cur_type) == INTEGER_TYPE - && (wanted_type == (TREE_UNSIGNED (wanted_type) - ? unsigned_type : signed_type) (cur_type)))) + && (TREE_UNSIGNED (wanted_type) + ? wanted_type == unsigned_type (cur_type) + : wanted_type == signed_type (cur_type)))) { register char *this; register char *that; -- 2.30.2