summaryrefslogtreecommitdiffstats
path: root/src/polypcore
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2006-03-31 08:54:24 +0000
committerPierre Ossman <ossman@cendio.se>2006-03-31 08:54:24 +0000
commitacb96c96fde93dcd87c6509e7c64b403caa44f30 (patch)
treeb498668dc0840e6898506655db2fd8bc85a72131 /src/polypcore
parent3285403d3c56e1d7ac9361ede675979b2d28fbf6 (diff)
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
Diffstat (limited to 'src/polypcore')
-rw-r--r--src/polypcore/cli-text.c4
1 files changed, 2 insertions, 2 deletions
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",