summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/64h156.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/64h156.cpp')
-rw-r--r--src/devices/machine/64h156.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/64h156.cpp b/src/devices/machine/64h156.cpp
index 7826cfdce58..2e9d70b2c5f 100644
--- a/src/devices/machine/64h156.cpp
+++ b/src/devices/machine/64h156.cpp
@@ -197,7 +197,7 @@ bool c64h156_device::write_next_bit(bool bit, const attotime &limit)
if(etime > limit)
return true;
- if(bit && cur_live.write_position < ARRAY_LENGTH(cur_live.write_buffer))
+ if(bit && cur_live.write_position < std::size(cur_live.write_buffer))
cur_live.write_buffer[cur_live.write_position++] = cur_live.tm - m_period;
LOG("%s write bit %u (%u)\n", cur_live.tm.as_string(), cur_live.bit_counter, bit);