summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/starshp1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/starshp1.cpp')
-rw-r--r--src/mame/video/starshp1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/starshp1.cpp b/src/mame/video/starshp1.cpp
index 504325c542f..d10266753fd 100644
--- a/src/mame/video/starshp1.cpp
+++ b/src/mame/video/starshp1.cpp
@@ -37,7 +37,7 @@ void starshp1_state::starshp1_palette(palette_device &palette) const
5, 7 // 0x11 - circle
};
- for (unsigned i = 0; i < ARRAY_LENGTH(colortable_source); i++)
+ for (unsigned i = 0; i < std::size(colortable_source); i++)
palette.set_pen_indirect(i, colortable_source[i]);
}