From 400f8e7d31bcc68610a23847a4fc90a1cca338dc Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Wed, 2 Feb 1994 18:37:18 -0800 Subject: [PATCH] (signed_or_unsigned_type): Check for any INTEGRAL_TYPE_P not just INTEGER_TYPE. From-SVN: r6474 --- gcc/c-typeck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c index 5fbe53087c5..81dca3ef5a7 100644 --- a/gcc/c-typeck.c +++ b/gcc/c-typeck.c @@ -718,7 +718,7 @@ signed_or_unsigned_type (unsignedp, type) int unsignedp; tree type; { - if (TREE_CODE (type) != INTEGER_TYPE) + if (! INTEGRAL_TYPE_P (type)) return type; if (TYPE_PRECISION (type) == TYPE_PRECISION (signed_char_type_node)) return unsignedp ? unsigned_char_type_node : signed_char_type_node; -- 2.30.2