summaryrefslogtreecommitdiffstats
path: root/src/mame/machine/decocass_tape.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/decocass_tape.cpp')
-rw-r--r--src/mame/machine/decocass_tape.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/decocass_tape.cpp b/src/mame/machine/decocass_tape.cpp
index 8686be2cb06..199a11c1e47 100644
--- a/src/mame/machine/decocass_tape.cpp
+++ b/src/mame/machine/decocass_tape.cpp
@@ -91,7 +91,7 @@ void decocass_tape_device::device_start()
if (m_tape_data[offs] != 0)
break;
numblocks = ((offs | 0xff) + 1) / 256;
- assert(numblocks < ARRAY_LENGTH(m_crc16));
+ assert(numblocks < std::size(m_crc16));
/* compute the total length */
m_numclocks = REGION_BOT_GAP_END_CLOCK + numblocks * BYTE_BLOCK_TOTAL * 16 + REGION_BOT_GAP_END_CLOCK;