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,
|
*sizeArgPtr,
|
||||||
&(audioOutput->outAudioFormat));
|
&(audioOutput->outAudioFormat));
|
||||||
|
|
||||||
if (size > (size_t)audioOutput->convBufferLen) {
|
if (size > audioOutput->convBufferLen) {
|
||||||
audioOutput->convBuffer =
|
audioOutput->convBuffer =
|
||||||
xrealloc(audioOutput->convBuffer, size);
|
xrealloc(audioOutput->convBuffer, size);
|
||||||
audioOutput->convBufferLen = size;
|
audioOutput->convBufferLen = size;
|
||||||
|
@ -70,7 +70,7 @@ struct _AudioOutput {
|
|||||||
AudioFormat reqAudioFormat;
|
AudioFormat reqAudioFormat;
|
||||||
ConvState convState;
|
ConvState convState;
|
||||||
char *convBuffer;
|
char *convBuffer;
|
||||||
int convBufferLen;
|
size_t convBufferLen;
|
||||||
int sameInAndOutFormats;
|
int sameInAndOutFormats;
|
||||||
|
|
||||||
void *data;
|
void *data;
|
||||||
|
Loading…
Reference in New Issue
Block a user