summaryrefslogtreecommitdiffstats
path: root/src/polypcore/cli-text.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/polypcore/cli-text.c')
-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",