Correct printf specifiers to unsigned int where needed

This commit is contained in:
Andrey Astafyev
2019-11-30 08:04:37 +03:00
committed by Erik de Castro Lopo
parent a9d9f4d353
commit a3d8927c2b
5 changed files with 10 additions and 10 deletions

View File

@@ -126,7 +126,7 @@ FLAC__StreamDecoderWriteStatus write_callback(const FLAC__StreamDecoder *decoder
return FLAC__STREAM_DECODER_WRITE_STATUS_ABORT;
}
if(frame->header.channels != 2) {
fprintf(stderr, "ERROR: This frame contains %d channels (should be 2)\n", frame->header.channels);
fprintf(stderr, "ERROR: This frame contains %u channels (should be 2)\n", frame->header.channels);
return FLAC__STREAM_DECODER_WRITE_STATUS_ABORT;
}
if(buffer [0] == NULL) {