mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Add a cast to fix a warning.
This commit is contained in:
parent
5ddd062275
commit
37f6bb092b
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ umtx_unlock(struct umtx *umtx, long id)
|
|||
static __inline int
|
||||
umtx_wait(struct umtx *umtx, long id, const struct timespec *timeout)
|
||||
{
|
||||
return (- _umtx_op(umtx, UMTX_OP_WAIT, id, 0, timeout));
|
||||
return (- _umtx_op(umtx, UMTX_OP_WAIT, id, 0, (void *)timeout));
|
||||
}
|
||||
|
||||
/* Wake threads waiting on a user address. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue