From 1d18ca69092c4ea25aea7da87907c879af435a3d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 12 Apr 2008 04:15:58 +0000 Subject: use size_t in audioOutput.c internals git-svn-id: https://svn.musicpd.org/mpd/trunk@7294 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/audioOutput.c | 2 +- src/audioOutput.h | 2 +- 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; -- cgit v1.2.3