mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
netlist: Fix some pedantic clang warnings.
This commit is contained in:
parent
d92513678b
commit
1d723a69db
@ -79,7 +79,7 @@ namespace netlist
|
||||
m_cnt = 0;
|
||||
m_IP.inactivate();
|
||||
/* static */ const netlist_time reset_time = netlist_time::from_nsec(140);
|
||||
for (int i = 0; i < _TotalBits; i++)
|
||||
for (unsigned i = 0; i < _TotalBits; i++)
|
||||
if (((_LiveBitmask >> i) & 1) != 0)
|
||||
m_Q[i].push(0, reset_time);
|
||||
}
|
||||
@ -100,7 +100,7 @@ namespace netlist
|
||||
NLTIME_FROM_NS(1380), NLTIME_FROM_NS(1480),
|
||||
};
|
||||
|
||||
for (int i = 0; i < _TotalBits; i++)
|
||||
for (unsigned i = 0; i < _TotalBits; i++)
|
||||
if (((_LiveBitmask >> i) & 1) != 0)
|
||||
m_Q[i].push((cnt >> i) & 1, out_delayQn[i]);
|
||||
}
|
||||
|
@ -67,7 +67,7 @@ namespace netlist
|
||||
{
|
||||
if (!m_ARQ())
|
||||
{
|
||||
uint16_t addr = m_A();
|
||||
const auto addr = m_A();
|
||||
m_latched_rom = m_ROM[addr];
|
||||
}
|
||||
uint8_t o = (m_enable_hi || m_enable_lo) ? m_latched_rom : 0;
|
||||
|
Loading…
Reference in New Issue
Block a user