diff options
Diffstat (limited to 'src/sdl/sdl_snd.c')
-rw-r--r-- | src/sdl/sdl_snd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sdl/sdl_snd.c b/src/sdl/sdl_snd.c index 24510329..6ab90ae0 100644 --- a/src/sdl/sdl_snd.c +++ b/src/sdl/sdl_snd.c @@ -100,8 +100,7 @@ static struct { AUDIO_S16MSB, "AUDIO_S16MSB" } }; -static int formatToStringTableSize = - sizeof( formatToStringTable ) / sizeof( formatToStringTable[ 0 ] ); +static int formatToStringTableSize = ARRAY_LEN( formatToStringTable ); /* =============== |