summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/mc6847.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/mc6847.h')
-rw-r--r--src/devices/video/mc6847.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/video/mc6847.h b/src/devices/video/mc6847.h
index 78fe0eac5f3..51ecde98334 100644
--- a/src/devices/video/mc6847.h
+++ b/src/devices/video/mc6847.h
@@ -107,7 +107,7 @@ protected:
uint8_t character = data[i];
// based on the mode, determine which entry to use
- const entry *e = &m_entries[mode % ARRAY_LENGTH(m_entries)];
+ const entry *e = &m_entries[mode % std::size(m_entries)];
// identify the character in the font data
const uint8_t *font_character = e->m_fontdata + (character & e->m_character_mask) * 12;