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:
parent
01bf822896
commit
1d18ca6909
@ -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;
|
||||
|
@ -70,7 +70,7 @@ struct _AudioOutput {
|
||||
AudioFormat reqAudioFormat;
|
||||
ConvState convState;
|
||||
char *convBuffer;
|
||||
int convBufferLen;
|
||||
size_t convBufferLen;
|
||||
int sameInAndOutFormats;
|
||||
|
||||
void *data;
|
||||
|
Loading…
Reference in New Issue
Block a user