Add a cast to fix a warning.

This commit is contained in:
Scott Long 2005-01-15 02:43:31 +00:00
parent 5ddd062275
commit 37f6bb092b

View file

@ -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. */