forp: fix ternary operator

This commit is contained in:
aiju 2018-04-24 12:58:54 +01:00
parent 29f03ba4e7
commit 3c53021357

View file

@ -323,8 +323,8 @@ optern(Node *rn, Node *n1, Node *n2, Node *n3, uint sz)
uint m; uint m;
int i, a, b, q; int i, a, b, q;
m = n1->size; m = n2->size;
if(n2->size > m) m = n2->size; if(n3->size > m) m = n3->size;
if(m > sz) m = sz; if(m > sz) m = sz;
nodevars(rn, m); nodevars(rn, m);
q = tologic(n1); q = tologic(n1);