diff options
Diffstat (limited to 'atomic/os390/atomic.c')
-rw-r--r-- | atomic/os390/atomic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/atomic/os390/atomic.c b/atomic/os390/atomic.c index 249ee15c2..9442f27ea 100644 --- a/atomic/os390/atomic.c +++ b/atomic/os390/atomic.c @@ -124,7 +124,7 @@ APR_DECLARE(void*) apr_atomic_xchgptr(void *volatile *mem_ptr, void *new_ptr) { void *old_ptr; - old_ptr = *(void **)mem_ptr; /* old is automatically updated on cs failure */ + old_ptr = *mem_ptr; /* old is automatically updated on cs failure */ #if APR_SIZEOF_VOIDP == 4 do { } while (__cs1(&old_ptr, mem_ptr, &new_ptr)); |