summaryrefslogtreecommitdiffstats
path: root/src/mame/video/darkmist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/darkmist.cpp')
-rw-r--r--src/mame/video/darkmist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/darkmist.cpp b/src/mame/video/darkmist.cpp
index 4a213bf967d..7d82d6b817e 100644
--- a/src/mame/video/darkmist.cpp
+++ b/src/mame/video/darkmist.cpp
@@ -71,7 +71,7 @@ void darkmist_state::darkmist_palette(palette_device &palette) const
{ &m_spr_clut[0], 0x40 },
{ &m_tx_clut[0], 0xc0 } };
- for (unsigned plane = 0; ARRAY_LENGTH(planes) > plane; ++plane)
+ for (unsigned plane = 0; std::size(planes) > plane; ++plane)
{
for (unsigned i = 0; 0x100 > i; ++i)
{