aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;