summaryrefslogtreecommitdiffstats
path: root/sesman
diff options
context:
space:
mode:
authorKoichiro IWAO <meta@vmeta.jp>2017-02-01 13:24:36 +0900
committerjsorg71 <jay.sorg@gmail.com>2017-02-02 21:46:49 -0800
commitf11eed3277d64b1f0859b497cad32f558c36b762 (patch)
treefcc757c84529f81753de7452bc0983b9a94ae520 /sesman
parentdc1e341f5a3218ad177122f6f7cf2083f1a2d463 (diff)
downloadxrdp-proprietary-f11eed3277d64b1f0859b497cad32f558c36b762.tar.gz
xrdp-proprietary-f11eed3277d64b1f0859b497cad32f558c36b762.zip
chansrv: fix warnings in pulse module
Diffstat (limited to 'sesman')
-rw-r--r--sesman/chansrv/pulse/module-xrdp-sink.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sesman/chansrv/pulse/module-xrdp-sink.c b/sesman/chansrv/pulse/module-xrdp-sink.c
index 79cd7b27..3e4756eb 100644
--- a/sesman/chansrv/pulse/module-xrdp-sink.c
+++ b/sesman/chansrv/pulse/module-xrdp-sink.c
@@ -171,12 +171,12 @@ static void sink_update_requested_latency_cb(pa_sink *s) {
u->block_usec = BLOCK_USEC;
//u->block_usec = pa_sink_get_requested_latency_within_thread(s);
- pa_log("1 block_usec %d", u->block_usec);
+ pa_log("1 block_usec %llu", (unsigned long long) u->block_usec);
u->got_max_latency = 0;
if (u->block_usec == (pa_usec_t) -1) {
u->block_usec = s->thread_info.max_latency;
- pa_log_debug("2 block_usec %d", u->block_usec);
+ pa_log_debug("2 block_usec %llu", (unsigned long long) u->block_usec);
u->got_max_latency = 1;
}
@@ -390,7 +390,7 @@ static void process_render(struct userdata *u, pa_usec_t now) {
if (u->got_max_latency) {
return;
}
- pa_log_debug("process_render: u->block_usec %d", u->block_usec);
+ pa_log_debug("process_render: u->block_usec %llu", (unsigned long long) u->block_usec);
while (u->timestamp < now + u->block_usec) {
request_bytes = u->sink->thread_info.max_request;
request_bytes = MIN(request_bytes, 16 * 1024);
@@ -528,7 +528,7 @@ int pa__init(pa_module*m) {
pa_sink_set_rtpoll(u->sink, u->rtpoll);
u->block_usec = BLOCK_USEC;
- pa_log_debug("3 block_usec %d", u->block_usec);
+ pa_log_debug("3 block_usec %llu", (unsigned long long) u->block_usec);
nbytes = pa_usec_to_bytes(u->block_usec, &u->sink->sample_spec);
pa_sink_set_max_rewind(u->sink, nbytes);
pa_sink_set_max_request(u->sink, nbytes);