From acb96c96fde93dcd87c6509e7c64b403caa44f30 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Fri, 31 Mar 2006 08:54:24 +0000 Subject: Fix some warnings caused by size_t having varying size. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@641 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/polypcore/cli-text.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/polypcore') diff --git a/src/polypcore/cli-text.c b/src/polypcore/cli-text.c index 8bffd0a7..d31d09c5 100644 --- a/src/polypcore/cli-text.c +++ b/src/polypcore/cli-text.c @@ -294,7 +294,7 @@ char *pa_scache_list_to_string(pa_core *c) { "\tindex: <%u>\n" "\tsample spec: <%s>\n" "\tchannel map: <%s>\n" - "\tlength: <%u>\n" + "\tlength: <%lu>\n" "\tduration: <%0.1fs>\n" "\tvolume: <%s>\n" "\tlazy: %s\n" @@ -303,7 +303,7 @@ char *pa_scache_list_to_string(pa_core *c) { e->index, ss, cm, - e->memchunk.memblock ? e->memchunk.length : 0, + (long unsigned)(e->memchunk.memblock ? e->memchunk.length : 0), l, pa_cvolume_snprint(cv, sizeof(cv), &e->volume), e->lazy ? "yes" : "no", -- cgit