diff --git a/src/dwarfs/categorizer/pcmaudio_categorizer.cpp b/src/dwarfs/categorizer/pcmaudio_categorizer.cpp index 645a5b85..a4948221 100644 --- a/src/dwarfs/categorizer/pcmaudio_categorizer.cpp +++ b/src/dwarfs/categorizer/pcmaudio_categorizer.cpp @@ -816,7 +816,8 @@ bool pcmaudio_categorizer_::check_caf( LOG_WARN << "[CAF] " << path << ": `data` chunk size mismatch (pcm_len=" << pcm_length << ", #chan=" << meta.number_of_channels - << ", bytes_per_sample=" << meta.bytes_per_sample << ")"; + << ", bytes_per_sample=" + << static_cast(meta.bytes_per_sample) << ")"; return false; } @@ -996,7 +997,8 @@ bool pcmaudio_categorizer_::check_wav_like( LOG_WARN << "[" << FormatPolicy::format_name << "] " << path << ": `data` chunk size mismatch (pcm_len=" << pcm_length << ", #chan=" << meta.number_of_channels - << ", bytes_per_sample=" << meta.bytes_per_sample << ")"; + << ", bytes_per_sample=" + << static_cast(meta.bytes_per_sample) << ")"; return false; }