use size_t in audioOutput.c internals

git-svn-id: https://svn.musicpd.org/mpd/trunk@7294 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Max Kellermann 2008-04-12 04:15:58 +00:00 committed by Eric Wong
parent 01bf822896
commit 1d18ca6909
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -70,7 +70,7 @@ struct _AudioOutput {
AudioFormat reqAudioFormat;
ConvState convState;
char *convBuffer;
int convBufferLen;
size_t convBufferLen;
int sameInAndOutFormats;
void *data;