summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/ncr5380n.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/ncr5380n.cpp')
-rw-r--r--src/devices/machine/ncr5380n.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/ncr5380n.cpp b/src/devices/machine/ncr5380n.cpp
index 6534730ca00..cffe173d73c 100644
--- a/src/devices/machine/ncr5380n.cpp
+++ b/src/devices/machine/ncr5380n.cpp
@@ -165,7 +165,7 @@ void ncr5380n_device::step(bool timeout)
break;
int win;
- for(win=7; win>=0 && !(data & (1<<win)); win--);
+ for(win=7; win>=0 && !(data & (1<<win)); win--) {};
// printf("arb complete: data %02x win %02x scsi_id %02x\n", data, win, scsi_id);
if(win != scsi_id) {
scsi_bus->data_w(scsi_refid, 0);
@@ -322,7 +322,7 @@ WRITE8_MEMBER(ncr5380n_device::icmd_w)
if (mask)
{
// translate data to nscsi
- UINT8 newdata = 0;
+ UINT8 newdata;
newdata = (data & IC_RST ? S_RST : 0) |
(data & IC_ACK ? S_ACK : 0) |