mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
Revert "spa: loop: Change get_time() timeout to unsigned"
This reverts commit c515f9bf8e. The PW
APIs use int64_t (partly because SPA_NSEC_PER_SEC is an LL), and we
don't want to change already public API.
This commit is contained in:
parent
c515f9bf8e
commit
56c6e19f99
2 changed files with 3 additions and 3 deletions
|
|
@ -657,7 +657,7 @@ static int loop_unlock(void *object)
|
|||
impl->recurse++;
|
||||
return -res;
|
||||
}
|
||||
static int loop_get_time(void *object, struct timespec *abstime, uint64_t timeout)
|
||||
static int loop_get_time(void *object, struct timespec *abstime, int64_t timeout)
|
||||
{
|
||||
if (clock_gettime(CLOCK_REALTIME, abstime) < 0)
|
||||
return -errno;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue