From b39a6d4337ced6dae597f0754f33dd44bd139bec Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Tue, 18 Aug 1992 02:55:50 +0000 Subject: [PATCH] Fix typo in last change. From-SVN: r1880 --- 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 c20cbecb46f..96bacec4d37 100644 --- a/gcc/c-typeck.c +++ b/gcc/c-typeck.c @@ -4605,7 +4605,7 @@ digest_init (type, init, tail, require_constant, constructor_constant, ofwhat) if (inside_init && TREE_TYPE (inside_init) != 0 && ((TYPE_MAIN_VARIANT (TREE_TYPE (inside_init)) - == TYPE_MAIN_VARIANT (type))) + == TYPE_MAIN_VARIANT (type)) || (code == ARRAY_TYPE && comptypes (TREE_TYPE (inside_init), type)) || (code == POINTER_TYPE -- 2.30.2