aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-04-12 04:15:58 +0000
committerEric Wong <normalperson@yhbt.net>2008-04-12 04:15:58 +0000
commit1d18ca69092c4ea25aea7da87907c879af435a3d (patch)
tree82915f8de57f680e1182e9776351a8ea0b4efade
parent01bf82289659b334a837062aef0c4814e26ed4fb (diff)
downloadmpd-1d18ca69092c4ea25aea7da87907c879af435a3d.tar.gz
mpd-1d18ca69092c4ea25aea7da87907c879af435a3d.tar.xz
mpd-1d18ca69092c4ea25aea7da87907c879af435a3d.zip
use size_t in audioOutput.c internals
git-svn-id: https://svn.musicpd.org/mpd/trunk@7294 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r--src/audioOutput.c2
-rw-r--r--src/audioOutput.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/audioOutput.c b/src/audioOutput.c
index 17da1e9ff..964042597 100644
--- a/src/audioOutput.c
+++ b/src/audioOutput.c
@@ -188,7 +188,7 @@ static void convertAudioFormat(AudioOutput * audioOutput,
*sizeArgPtr,
&(audioOutput->outAudioFormat));
- if (size > (size_t)audioOutput->convBufferLen) {
+ if (size > audioOutput->convBufferLen) {
audioOutput->convBuffer =
xrealloc(audioOutput->convBuffer, size);
audioOutput->convBufferLen = size;
diff --git a/src/audioOutput.h b/src/audioOutput.h
index 577ba2014..3cede2e30 100644
--- a/src/audioOutput.h
+++ b/src/audioOutput.h
@@ -70,7 +70,7 @@ struct _AudioOutput {
AudioFormat reqAudioFormat;
ConvState convState;
char *convBuffer;
- int convBufferLen;
+ size_t convBufferLen;
int sameInAndOutFormats;
void *data;