summaryrefslogtreecommitdiff
path: root/bcc/exptree.c
diff options
context:
space:
mode:
Diffstat (limited to 'bcc/exptree.c')
-rw-r--r--bcc/exptree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bcc/exptree.c b/bcc/exptree.c
index d3e6386..427b5f4 100644
--- a/bcc/exptree.c
+++ b/bcc/exptree.c
@@ -940,11 +940,12 @@ struct nodestruct *nodeptr;
}
nodeptr->left.nodeptr = left = unconvert(left);
nodeptr->right = right = unconvert(right);
+ targtype = left->nodetype;
if (
#ifdef I80386
i386_32 ||
#endif
- ((targtype = left->nodetype)->scalar & FLOAT ) == 0)
+ ( targtype->scalar & FLOAT ) == 0)
if (targtype == right->nodetype)
return targtype; /* XXX - reduced from promote(targtype) */
if ((lscalar = targtype->scalar) != 0 &&