diff options
author | scottl <scottl@FreeBSD.org> | 2005-01-15 02:43:31 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2005-01-15 02:43:31 +0000 |
commit | 1df25ecd79325dade12d1a56dc9fb90982a51413 (patch) | |
tree | 3fc1799bb1de2d5085707ed2c48e0fea2cad7948 /sys | |
parent | 1f3769b47055f7e50e606218c3cae9cd2732b820 (diff) | |
download | FreeBSD-src-1df25ecd79325dade12d1a56dc9fb90982a51413.zip FreeBSD-src-1df25ecd79325dade12d1a56dc9fb90982a51413.tar.gz |
Add a cast to fix a warning.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/umtx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/umtx.h b/sys/sys/umtx.h index 4664c4e..c9cfcb7 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. */ |