BESM6: fix warning

This fixes a warning with some compilers.
This commit is contained in:
Paul Koning 2022-11-06 11:19:50 -05:00 committed by Paul Koning
parent f6cf886454
commit 2de790dede

View file

@ -717,7 +717,7 @@ void disk_ctl (int ctlr, uint32 cmd)
KMD *c = &controller [ctlr];
UNIT *u = c->dev < 0 ? &md_unit[0] : &md_unit [c->dev];
if ((md_dev[ctlr].dctrl & DEB_OPS || c->dev != -1 && u->dptr->dctrl & DEB_OPS) && cmd & BBIT(13)) {
if ((md_dev[ctlr].dctrl & DEB_OPS || (c->dev != -1 && u->dptr->dctrl & DEB_OPS)) && cmd & BBIT(13)) {
besm6_debug ("::: КМД %c: bit 13 + %04o",
ctlr + '3', cmd & 07777);
}