mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
Fix some compiler warnings on arm
This commit is contained in:
parent
df5721ff47
commit
ab3a6d3441
3 changed files with 8 additions and 8 deletions
|
|
@ -485,12 +485,12 @@ static void idle_func(struct spa_source *source)
|
|||
|
||||
rttime = pw_rtkit_get_rttime_usec_max(system_bus);
|
||||
if (rttime >= 0) {
|
||||
rl.rlim_cur = SPA_MIN(rl.rlim_cur, (long unsigned int)rttime);
|
||||
rl.rlim_max = SPA_MIN(rl.rlim_max, (long unsigned int)rttime);
|
||||
rl.rlim_cur = SPA_MIN(rl.rlim_cur, (rlim_t)rttime);
|
||||
rl.rlim_max = SPA_MIN(rl.rlim_max, (rlim_t)rttime);
|
||||
}
|
||||
|
||||
pw_log_debug("rt.prio:%d rt.time.soft:%lu rt.time.hard:%lu",
|
||||
rtprio, rl.rlim_cur, rl.rlim_max);
|
||||
pw_log_debug("rt.prio:%d rt.time.soft:%"PRIi64" rt.time.hard:%"PRIi64,
|
||||
rtprio, (int64_t)rl.rlim_cur, (int64_t)rl.rlim_max);
|
||||
|
||||
if ((r = setrlimit(RLIMIT_RTTIME, &rl)) < 0)
|
||||
pw_log_debug("setrlimit() failed: %s", strerror(errno));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue