aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cubeb_resampler_internal.h
diff options
context:
space:
mode:
authorPaul Adenot <[email protected]>2020-09-11 14:49:16 +0200
committerPaul Adenot <[email protected]>2020-09-11 15:06:44 +0200
commitf39ce8a726448d6dd4b08949b49ed6937bc080d7 (patch)
tree7111e3a534ce9ec129ae71f21a89a06c2fda9c2a /src/cubeb_resampler_internal.h
parentd01d6f114949dc126d7220970e167102a172b85c (diff)
downloadcubeb-f39ce8a726448d6dd4b08949b49ed6937bc080d7.tar.gz
cubeb-f39ce8a726448d6dd4b08949b49ed6937bc080d7.zip
Fix printf format
Diffstat (limited to 'src/cubeb_resampler_internal.h')
-rw-r--r--src/cubeb_resampler_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cubeb_resampler_internal.h b/src/cubeb_resampler_internal.h
index c63bff3..3e8b097 100644
--- a/src/cubeb_resampler_internal.h
+++ b/src/cubeb_resampler_internal.h
@@ -269,7 +269,7 @@ public:
resampling_out_buffer.data(), &out_len);
if (out_len < output_frame_count) {
- LOGV("underrun during resampling: got %u frames, expected %u", out_len, output_frame_count);
+ LOGV("underrun during resampling: got %u frames, expected %zu", (unsigned)out_len, output_frame_count);
// silence the rightmost part
T* data = resampling_out_buffer.data();
for (uint32_t i = frames_to_samples(out_len); i < frames_to_samples(output_frame_count); i++) {