MadDecoderPlugin: fix bad printf format

max_frames is size_t, not unsigned long. Fixes GCC warning.
This commit is contained in:
Rosen Penev 2020-01-30 21:53:50 -08:00 committed by Max Kellermann
parent 0c9e25b3c4
commit 80a0cf694f

View File

@ -793,7 +793,7 @@ MadDecoder::DecodeFirstFrame(Tag *tag) noexcept
if (max_frames > 8 * 1024 * 1024) {
FormatWarning(mad_domain,
"mp3 file header indicates too many frames: %lu",
"mp3 file header indicates too many frames: %zu",
max_frames);
return false;
}