--- /n/sources/plan9/sys/src/cmd/cc/com.c Thu Jun 18 00:44:09 2026 +++ /sys/src/cmd/cc/com.c Thu Jun 18 00:00:00 2026 @@ -1063,8 +1063,11 @@ case OCAST: if(n->type == types[TVOID] && !side(l)){ + n->op = OCONST; n->left = Z; - n->type = T; + n->right = Z; + n->type = types[TINT]; + n->vconst = 0; break; } if(castucom(n))