mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-03 06:47:04 -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
|
|
@ -754,7 +754,8 @@ int message_dump(enum spa_log_level level, const char *prefix, struct message *m
|
|||
struct timeval tv;
|
||||
if ((res = read_timeval(m, &tv)) < 0)
|
||||
return res;
|
||||
pw_log(level, "%s %u: timeval: %lu:%lu", prefix, o, tv.tv_sec, tv.tv_usec);
|
||||
pw_log(level, "%s %u: timeval: %jd:%jd", prefix, o,
|
||||
(intmax_t) tv.tv_sec, (intmax_t) tv.tv_usec);
|
||||
break;
|
||||
}
|
||||
case TAG_CHANNEL_MAP:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue