mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
fix compiler warnings
This commit is contained in:
parent
729343f59b
commit
e6ccc72feb
3 changed files with 5 additions and 5 deletions
|
|
@ -225,7 +225,7 @@ int jack_set_property(jack_client_t*client,
|
|||
if (type == NULL)
|
||||
type = "";
|
||||
|
||||
pw_log_info("set id:%u (%lu) '%s' to '%s@%s'", id, subject, key, value, type);
|
||||
pw_log_info("set id:%u (%"PRIu64") '%s' to '%s@%s'", id, subject, key, value, type);
|
||||
pw_metadata_set_property(c->metadata->proxy, id, key, type, value);
|
||||
res = 0;
|
||||
done:
|
||||
|
|
@ -334,7 +334,7 @@ int jack_remove_property (jack_client_t* client, jack_uuid_t subject, const char
|
|||
|
||||
id = jack_uuid_to_index(subject);
|
||||
|
||||
pw_log_info("remove id:%u (%lu) '%s'", id, subject, key);
|
||||
pw_log_info("remove id:%u (%"PRIu64") '%s'", id, subject, key);
|
||||
pw_metadata_set_property(c->metadata->proxy,
|
||||
id, key, NULL, NULL);
|
||||
res = 0;
|
||||
|
|
@ -359,7 +359,7 @@ int jack_remove_properties (jack_client_t* client, jack_uuid_t subject)
|
|||
|
||||
id = jack_uuid_to_index(subject);
|
||||
|
||||
pw_log_info("remove id:%u (%lu)", id, subject);
|
||||
pw_log_info("remove id:%u (%"PRIu64")", id, subject);
|
||||
pw_metadata_set_property(c->metadata->proxy,
|
||||
id, NULL, NULL, NULL);
|
||||
res = 0;
|
||||
|
|
|
|||
|
|
@ -847,7 +847,7 @@ static void process_tee(struct client *c, uint32_t frames)
|
|||
|
||||
static inline void debug_position(struct client *c, jack_position_t *p)
|
||||
{
|
||||
pw_log_trace("usecs: %lu", p->usecs);
|
||||
pw_log_trace("usecs: %"PRIu64, p->usecs);
|
||||
pw_log_trace("frame_rate: %u", p->frame_rate);
|
||||
pw_log_trace("frame: %u", p->frame);
|
||||
pw_log_trace("valid: %08x", p->valid);
|
||||
|
|
|
|||
|
|
@ -1348,7 +1348,7 @@ size_t pa_stream_writable_size(PA_CONST pa_stream *s)
|
|||
queued -= SPA_MIN(queued, elapsed);
|
||||
|
||||
writable = s->maxblock - SPA_MIN(queued, s->maxblock);
|
||||
pw_log_debug("stream %p: %lu", s, writable);
|
||||
pw_log_debug("stream %p: %"PRIu64, s, writable);
|
||||
return writable;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue