apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r560724 - /apr/apr/branches/0.9.x/test/testatomic.c
Date Sun, 29 Jul 2007 14:59:52 GMT
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);



Mime
View raw message