From 80a0cf694f152f94488b9c5cf2bd35518f149f73 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Thu, 30 Jan 2020 21:53:50 -0800 Subject: [PATCH] MadDecoderPlugin: fix bad printf format max_frames is size_t, not unsigned long. Fixes GCC warning. --- src/decoder/plugins/MadDecoderPlugin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/decoder/plugins/MadDecoderPlugin.cxx b/src/decoder/plugins/MadDecoderPlugin.cxx index 649cca78c..b21f7cba9 100644 --- a/src/decoder/plugins/MadDecoderPlugin.cxx +++ b/src/decoder/plugins/MadDecoderPlugin.cxx @@ -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; }