Fix 2nd and 3rd arguments' cast in atomic_cas_ptr().
authoraoyama <aoyama@openbsd.org>
Tue, 4 May 2021 14:05:12 +0000 (14:05 +0000)
committeraoyama <aoyama@openbsd.org>
Tue, 4 May 2021 14:05:12 +0000 (14:05 +0000)
commit2795574053f7addabf6fb8e3ed5d47c8a33b3c7a
tree8ba89bc060e18854ac8aa5f3ae68a1c2352be8a4
parent85f5c1e8168099f7b865085be8bb8c7ec7ff2bd1
Fix 2nd and 3rd arguments' cast in atomic_cas_ptr().

This fixes compile errors (actually warnings) on m88k in sys/net/pf.c
revision 1.1116 changes.

Diff from Miod Vallat, tested on GENERIC and GENERIC.MP by me.
sys/arch/m88k/include/atomic.h