Commit 1e0c17e2 authored by Ken Thompson's avatar Ken Thompson

switch on false error

R=r
OCL=26434
CL=26434
parent 592dbb2d
......@@ -394,7 +394,7 @@ walkswitch(Node *sw)
arg = Snorm;
if(isconst(sw->ntest, CTBOOL)) {
arg = Strue;
if(sw->ntest->val.u.xval == 0)
if(sw->ntest->val.u.bval == 0)
arg = Sfalse;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment