aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-04-12 04:16:18 +0000
committerEric Wong <normalperson@yhbt.net>2008-04-12 04:16:18 +0000
commitdd20681daa91b2143c9f8f6e27b59845a14f51b6 (patch)
treebb07fbe1fc52a1bce9f7c308f5943e290fccc7f2
parentee64bba4d9f367de624c6a9cb8c2920c89aae727 (diff)
downloadmpd-dd20681daa91b2143c9f8f6e27b59845a14f51b6.tar.gz
mpd-dd20681daa91b2143c9f8f6e27b59845a14f51b6.tar.xz
mpd-dd20681daa91b2143c9f8f6e27b59845a14f51b6.zip
missing const in disabled code path
git-svn-id: https://svn.musicpd.org/mpd/trunk@7298 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/pcm_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcm_utils.c b/src/pcm_utils.c
index 171b2288c..9a443962d 100644
--- a/src/pcm_utils.c
+++ b/src/pcm_utils.c
@@ -258,7 +258,7 @@ static size_t pcm_convertSampleRate(mpd_sint8 channels, mpd_uint32 inSampleRate,
#else /* !HAVE_LIBSAMPLERATE */
/* resampling code blatantly ripped from ESD */
static size_t pcm_convertSampleRate(mpd_sint8 channels, mpd_uint32 inSampleRate,
- char *inBuffer, size_t inSize,
+ const char *inBuffer, size_t inSize,
mpd_uint32 outSampleRate, char *outBuffer,
size_t outSize, ConvState *convState)
{