MadDecoderPlugin: fix bad printf format
max_frames is size_t, not unsigned long. Fixes GCC warning.
This commit is contained in:
parent
0c9e25b3c4
commit
80a0cf694f
@ -793,7 +793,7 @@ MadDecoder::DecodeFirstFrame(Tag *tag) noexcept
|
|||||||
|
|
||||||
if (max_frames > 8 * 1024 * 1024) {
|
if (max_frames > 8 * 1024 * 1024) {
|
||||||
FormatWarning(mad_domain,
|
FormatWarning(mad_domain,
|
||||||
"mp3 file header indicates too many frames: %lu",
|
"mp3 file header indicates too many frames: %zu",
|
||||||
max_frames);
|
max_frames);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user