summaryrefslogtreecommitdiffstats
path: root/src/mame/audio/svis_snd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/audio/svis_snd.cpp')
-rw-r--r--src/mame/audio/svis_snd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/audio/svis_snd.cpp b/src/mame/audio/svis_snd.cpp
index ed80d459821..90c08fe84f8 100644
--- a/src/mame/audio/svis_snd.cpp
+++ b/src/mame/audio/svis_snd.cpp
@@ -62,7 +62,7 @@ void svision_sound_device::sound_stream_update(sound_stream &stream, std::vector
{
s32 lsum = 0;
s32 rsum = 0;
- for (int j = 0; j < ARRAY_LENGTH(m_channel); j++)
+ for (int j = 0; j < std::size(m_channel); j++)
{
CHANNEL &channel(m_channel[j]);
if (channel.size != 0)