From 26bc6b48313dd0470a3998dace217148fc314271 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 10 Oct 2014 13:44:08 +0200 Subject: Add some missing "const"s The one in msg.c was mistakenly removed with commit e99a37f6. I didn't actually test the change in ao_sndio.c (but obviously "ap" shouldn't be static). --- audio/out/ao_sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio/out/ao_sdl.c') diff --git a/audio/out/ao_sdl.c b/audio/out/ao_sdl.c index d2362a723e..91554d71fe 100644 --- a/audio/out/ao_sdl.c +++ b/audio/out/ao_sdl.c @@ -38,7 +38,7 @@ struct priv float buflen; }; -static int fmtmap[][2] = { +static const int fmtmap[][2] = { {AF_FORMAT_U8, AUDIO_U8}, {AF_FORMAT_S8, AUDIO_S8}, {AF_FORMAT_U16, AUDIO_U16SYS}, -- cgit v1.2.3