mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
fix some printf arguments
This commit is contained in:
parent
67754ad3bc
commit
aaeafa49c1
4 changed files with 5 additions and 5 deletions
|
|
@ -210,7 +210,7 @@ static int update_property(struct client *c,
|
|||
pthread_mutex_unlock(&globals.lock);
|
||||
|
||||
if (c->property_callback && changed > 0) {
|
||||
pw_log_info("emit %lu %s", subject, key);
|
||||
pw_log_info("emit %"PRIu64" %s", (uint64_t)subject, key);
|
||||
c->property_callback(subject, key, change, c->property_arg);
|
||||
}
|
||||
return changed;
|
||||
|
|
|
|||
|
|
@ -227,7 +227,7 @@ static int setup_socket(struct server *server)
|
|||
if (fd < 0)
|
||||
return fd;
|
||||
|
||||
pw_log_info("%lx %d", server->entity_id, server->ifindex);
|
||||
pw_log_info("0x%"PRIx64" %d", server->entity_id, server->ifindex);
|
||||
|
||||
server->source = pw_loop_add_io(impl->loop, fd, SPA_IO_IN, true, on_socket_data, server);
|
||||
if (server->source == NULL) {
|
||||
|
|
|
|||
|
|
@ -419,7 +419,7 @@ struct avb_maap *avb_maap_register(struct server *server)
|
|||
}
|
||||
|
||||
maap->server = server;
|
||||
pw_log_info("%lx %d", server->entity_id, server->ifindex);
|
||||
pw_log_info("0x%"PRIx64" %d", server->entity_id, server->ifindex);
|
||||
|
||||
pw_getrandom(maap->xsubi, sizeof(maap->xsubi), 0);
|
||||
load_state(maap);
|
||||
|
|
|
|||
|
|
@ -599,8 +599,8 @@ static int set_rlimit(struct impl *impl)
|
|||
rttime = pw_rtkit_get_rttime_usec_max(impl->system_bus);
|
||||
if (rttime >= 0) {
|
||||
if ((rlim_t)rttime < rl.rlim_cur) {
|
||||
pw_log_debug("clamping rt.time.soft from %ld to %lld because of RTKit",
|
||||
rl.rlim_cur, rttime);
|
||||
pw_log_debug("clamping rt.time.soft from %llu to %lld because of RTKit",
|
||||
(long long)rl.rlim_cur, rttime);
|
||||
}
|
||||
|
||||
rl.rlim_cur = SPA_MIN(rl.rlim_cur, (rlim_t)rttime);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue