From 37f6bb092be35a7ab0c45da2f841f0cd0a00d223 Mon Sep 17 00:00:00 2001 From: Scott Long Date: Sat, 15 Jan 2005 02:43:31 +0000 Subject: [PATCH] Add a cast to fix a warning. --- sys/sys/umtx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/umtx.h b/sys/sys/umtx.h index 4664c4ee1d7..c9cfcb70235 100644 --- a/sys/sys/umtx.h +++ b/sys/sys/umtx.h @@ -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. */