get the args right for the fallback atomic_{cas,swap}_ptr
authordlg <dlg@openbsd.org>
Fri, 23 Jan 2015 09:50:45 +0000 (09:50 +0000)
committerdlg <dlg@openbsd.org>
Fri, 23 Jan 2015 09:50:45 +0000 (09:50 +0000)
commit4f190dc567f0c6ab6c86a96164aac91627ddb7d4
tree55852d6bdbd98287dae38a3017a8f116857b39c3
parent87171a5f7fe79b1cfbe2c3b5047407c70fbbc4bc
get the args right for the fallback atomic_{cas,swap}_ptr
implementations, and then cast the pointer to the right type for
the gcc builtins.
sys/sys/atomic.h