summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/gunpey.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/gunpey.cpp')
-rw-r--r--src/mame/drivers/gunpey.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/gunpey.cpp b/src/mame/drivers/gunpey.cpp
index 714b404274d..e3fa57afd90 100644
--- a/src/mame/drivers/gunpey.cpp
+++ b/src/mame/drivers/gunpey.cpp
@@ -712,7 +712,7 @@ void state_s::set_o(unsigned char v)
assert(oy < 256);
unsigned char a = v;
- for (int i = 0; i < ARRAY_LENGTH(colour); i++)
+ for (int i = 0; i < std::size(colour); i++)
{
unsigned char b = colour[i];
colour[i] = a;