commit 3ebba91c4cc5aff7a1757f0c6b54928ca87fecb8
parent 193ddab783899d6a84e9dc0afd3f2ee7af2fcdb2
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Tue, 19 May 2015 10:49:13 +0200
Fix decay() typo
Type *tp = tp->type was a correct expression, but a non logical
one.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cc1/expr.c b/cc1/expr.c
@@ -108,7 +108,7 @@ integeruop(char op, Node *np)
static Node *
decay(Node *np)
{
- Type *tp = tp->type;
+ Type *tp = np->type;
if (tp->op == ARY)
tp = tp->type;