spa: loop: Change get_time() timeout to unsigned

A signed value doesn't really make sense in this context, so let's keep
it unsigned so the semantics are clear. This does break the interface,
but should be okay since it's not in a release yet.
This commit is contained in:
Arun Raghavan 2025-06-03 14:47:23 +05:30 committed by Wim Taymans
parent 187df01b5e
commit c515f9bf8e
2 changed files with 3 additions and 3 deletions

View file

@ -657,7 +657,7 @@ static int loop_unlock(void *object)
impl->recurse++;
return -res;
}
static int loop_get_time(void *object, struct timespec *abstime, int64_t timeout)
static int loop_get_time(void *object, struct timespec *abstime, uint64_t timeout)
{
if (clock_gettime(CLOCK_REALTIME, abstime) < 0)
return -errno;