diff options
Diffstat (limited to 'atomic')
-rw-r--r-- | atomic/unix/ia32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/atomic/unix/ia32.c b/atomic/unix/ia32.c index 3826f9275..63f48a753 100644 --- a/atomic/unix/ia32.c +++ b/atomic/unix/ia32.c @@ -117,7 +117,7 @@ APR_DECLARE(void*) apr_atomic_xchgptr(volatile void **mem, void *with) #elif APR_SIZEOF_VOIDP == 8 asm volatile ("xchgq %q2, %1" : "=a" (prev), "+m" (*mem) - : "r" ((unsigned long)with)); + : "0" (with)); #else #error APR_SIZEOF_VOIDP value not supported #endif |