From 6fbdc721d972d8c1f823acd5473a3dce8836d5fa Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 5 Feb 2008 10:17:33 +0000 Subject: fix -Wconst warnings [ew: cleaned up the dirty union hack a bit] Signed-off-by: Eric Wong git-svn-id: https://svn.musicpd.org/mpd/trunk@7180 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/audioOutput.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/audioOutput.c') diff --git a/src/audioOutput.c b/src/audioOutput.c index 43d073b48..d2fb2d776 100644 --- a/src/audioOutput.c +++ b/src/audioOutput.c @@ -67,9 +67,9 @@ void finishAudioOutputPlugins(void) int initAudioOutput(AudioOutput *ao, ConfigParam * param) { void *data = NULL; - char *name = NULL; + const char *name = NULL; char *format = NULL; - char *type = NULL; + const char *type = NULL; BlockParam *bp = NULL; AudioOutputPlugin *plugin = NULL; -- cgit v1.2.3