Commit 80a0cf69 authored by Rosen Penev's avatar Rosen Penev Committed by Max Kellermann

MadDecoderPlugin: fix bad printf format

max_frames is size_t, not unsigned long. Fixes GCC warning.
parent 0c9e25b3
...@@ -793,7 +793,7 @@ MadDecoder::DecodeFirstFrame(Tag *tag) noexcept ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment