diff options
author | davi <davi@13f79535-47bb-0310-9956-ffa450edef68> | 2007-07-29 14:59:51 +0000 |
---|---|---|
committer | davi <davi@13f79535-47bb-0310-9956-ffa450edef68> | 2007-07-29 14:59:51 +0000 |
commit | 25fac909ba2d1c2134dfbd2f5a202728a09bcf44 (patch) | |
tree | 9982e816b1c2c03a362581de0e6c507d9fabb42b | |
parent | 037d8843c3b7844400c68f4cc2eb892b79fa7635 (diff) | |
download | libapr-25fac909ba2d1c2134dfbd2f5a202728a09bcf44.tar.gz |
Silence gcc incompatible pointer type warning. The volatile qualifiers are
misplaced, but fixing it could break the ABI.
Submitted by: Carlo Marcelo Arenas Belon
PR: 42992
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@560724 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | test/testatomic.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/testatomic.c b/test/testatomic.c index fe82bb917..d226bd1b9 100644 --- a/test/testatomic.c +++ b/test/testatomic.c @@ -38,7 +38,11 @@ static apr_status_t check_basic_atomics(volatile apr_atomic_t*p) apr_atomic_t oldval; apr_uint32_t casval = 0; float object1, object2; +#if !(defined NETWARE) + volatile void *casptr; +#else void *casptr; +#endif void *oldptr; apr_atomic_set(&y, 2); |