mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
treewide: fix some format string issues
Use the proper specifier, and cast to a known type where the type is not guaranteed by any standard. See #3975
This commit is contained in:
parent
bdca7cb1a0
commit
6a26e6dd3f
5 changed files with 8 additions and 7 deletions
|
|
@ -6514,7 +6514,7 @@ static inline void get_frame_times(struct client *c, struct frame_times *times)
|
|||
u1 = c->jack_position.unique_1;
|
||||
*times = c->jack_times;
|
||||
if (++count == 10) {
|
||||
pw_log_warn("could not get snapshot %lu %lu", u1, c->jack_position.unique_2);
|
||||
pw_log_warn("could not get snapshot %" PRIu64 " %" PRIu64, u1, c->jack_position.unique_2);
|
||||
break;
|
||||
}
|
||||
} while (u1 != c->jack_position.unique_2);
|
||||
|
|
@ -6807,7 +6807,7 @@ jack_transport_state_t jack_transport_query (const jack_client_t *client,
|
|||
if (pos != NULL)
|
||||
*pos = c->jack_position;
|
||||
if (++count == 10) {
|
||||
pw_log_warn("could not get snapshot %lu %lu", u1, c->jack_position.unique_2);
|
||||
pw_log_warn("could not get snapshot %" PRIu64 " %" PRIu64, u1, c->jack_position.unique_2);
|
||||
break;
|
||||
}
|
||||
} while (u1 != c->jack_position.unique_2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue