Date: Sun, 3 May 2015 12:52:22 +0200 Fix the following warnings. CC pulsecore/filter/libpulsecore_6.0_la-lfe-filter.lo pulsecore/filter/lfe-filter.c: In function 'pa_lfe_filter_rewind': pulsecore/filter/lfe-filter.c:179:9: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' [-Wformat=] pa_log_debug("Rewinding LFE filter %lu samples to position %lli. No saved state found", samples, (long long) f->index); ^ pulsecore/filter/lfe-filter.c:183:5: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' [-Wformat=] pa_log_debug("Rewinding LFE filter %lu samples to position %lli. Found saved state at position %lli", ^ CC pulsecore/filter/libpulsecore_6.0_la-biquad.lo CC pulsecore/filter/libpulsecore_6.0_la-lfe-filter.lo pulsecore/filter/lfe-filter.c: In function 'pa_lfe_filter_rewind': pulsecore/filter/lfe-filter.c:179:9: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' [-Wformat=] pa_log_debug("Rewinding LFE filter %lu samples to position %lli. No saved state found", samples, (long long) f->index); ^ pulsecore/filter/lfe-filter.c:183:5: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' [-Wformat=] pa_log_debug("Rewinding LFE filter %lu samples to position %lli. Found saved state at position %lli", ^ --- src/pulsecore/filter/lfe-filter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pulsecore/filter/lfe-filter.c b/src/pulsecore/filter/lfe-filter.c index ab81eb7..8c79b55 100644 --- a/src/pulsecore/filter/lfe-filter.c +++ b/src/pulsecore/filter/lfe-filter.c @@ -176,11 +176,11 @@ void pa_lfe_filter_rewind(pa_lfe_filter_t *f, size_t amount) { s = i; } if (s == NULL) { - pa_log_debug("Rewinding LFE filter %lu samples to position %lli. No saved state found", samples, (long long) f->index); + pa_log_debug("Rewinding LFE filter %zu samples to position %lli. No saved state found", samples, (long long) f->index); pa_lfe_filter_update_rate(f, f->ss.rate); return; } - pa_log_debug("Rewinding LFE filter %lu samples to position %lli. Found saved state at position %lli", + pa_log_debug("Rewinding LFE filter %zu samples to position %lli. Found saved state at position %lli", samples, (long long) f->index, (long long) s->index); memcpy(f->lr4, s->lr4, sizeof(struct lr4) * f->cm.channels); -- 2.1.4 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: This is a digitally signed message part URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20150503/108c10de/attachment.sig>