You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by da...@apache.org on 2007/07/29 16:59:52 UTC
svn commit: r560724 - /apr/apr/branches/0.9.x/test/testatomic.c
Author: davi
Date: Sun Jul 29 07:59:51 2007
New Revision: 560724
URL: http://svn.apache.org/viewvc?view=rev&rev=560724
Log:
Silence gcc incompatible pointer type warning. The volatile qualifiers are
misplaced, but fixing it could break the ABI.
Modified:
apr/apr/branches/0.9.x/test/testatomic.c
Modified: apr/apr/branches/0.9.x/test/testatomic.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/0.9.x/test/testatomic.c?view=diff&rev=560724&r1=560723&r2=560724
==============================================================================
--- apr/apr/branches/0.9.x/test/testatomic.c (original)
+++ apr/apr/branches/0.9.x/test/testatomic.c Sun Jul 29 07:59:51 2007
@@ -38,7 +38,11 @@
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);