summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/x07.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/x07.cpp')
-rw-r--r--src/mame/drivers/x07.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/x07.cpp b/src/mame/drivers/x07.cpp
index 7d7ee3271a9..f103a68e766 100644
--- a/src/mame/drivers/x07.cpp
+++ b/src/mame/drivers/x07.cpp
@@ -893,7 +893,7 @@ void x07_state::printer_w()
inline uint8_t x07_state::kb_get_index(uint8_t char_code)
{
- for(uint8_t i=0 ; i< ARRAY_LENGTH(x07_keycodes); i++)
+ for(uint8_t i=0 ; i< std::size(x07_keycodes); i++)
if (x07_keycodes[i].codes[0] == char_code)
return i;