atomic: Avoid casts and/or use correct ones.

* atomic/os390/atomic.c(apr_atomic_xchgptr):
  Dereferencing without casting is fine/better.

* atomic/unix/mutex.c(apr_atomic_casptr, apr_atomic_xchgptr):
  Dereferencing without casting is fine/better.

* atomic/win32/apr_atomic.c(apr_atomic_add32, apr_atomic_sub32,
                            apr_atomic_inc32, apr_atomic_dev32,
                            apr_atomic_set32, apr_atomic_cas32,
                            apr_atomic_xchg32):
  Native Interlocked 32bit functions expect "long volatile *",
  don't cast out volatility.

* atomic/win32/apr_atomic.c(apr_atomic_casptr):
  32bit InterlockedCompareExchangePointer() expects "long volatile *",
  don't cast to (void **).

* atomic/win32/apr_atomic.c(apr_atomic_xchgptr):
  InterlockedExchangePointer() for both 32bit and 64bit expects
  "void *volatile *", no need to cast.



git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1902257 13f79535-47bb-0310-9956-ffa450edef68
3 files changed