--- nono/vm/scsidomain.cpp 2026/04/29 17:05:42 1.1.1.1 +++ nono/vm/scsidomain.cpp 2026/04/29 17:05:54 1.1.1.2 @@ -163,7 +163,7 @@ void SCSIDomain::AttachTargets(SCSIBus *bus) { for (uint id = 0; id < MaxDevices; id++) { - if (target[id]) { + if ((bool)target[id]) { target[id]->Attach(bus); } }