apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject svn commit: r438796 - /apr/apr/trunk/atomic/unix/apr_atomic.c
Date Thu, 31 Aug 2006 05:10:22 GMT
Author: jerenkrantz
Date: Wed Aug 30 22:10:22 2006
New Revision: 438796

URL: http://svn.apache.org/viewvc?rev=438796&view=rev
Log:
Fix up integer type on Solaris 10 (gcc) compiles.

* atomic/unix/apr_atomic.c
  (apr_atomic_dec32): Match declaration in apr_atomic.h for Solaris 10
  implementation.

Modified:
    apr/apr/trunk/atomic/unix/apr_atomic.c

Modified: apr/apr/trunk/atomic/unix/apr_atomic.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/atomic/unix/apr_atomic.c?rev=438796&r1=438795&r2=438796&view=diff
==============================================================================
--- apr/apr/trunk/atomic/unix/apr_atomic.c (original)
+++ apr/apr/trunk/atomic/unix/apr_atomic.c Wed Aug 30 22:10:22 2006
@@ -179,7 +179,7 @@
 #endif /* APR_OVERRIDE_ATOMIC_CAS32 */
 
 #if !defined(APR_OVERRIDE_ATOMIC_DEC32)
-APR_DECLARE(apr_uint32_t) apr_atomic_dec32(volatile apr_uint32_t *mem)
+APR_DECLARE(int) apr_atomic_dec32(volatile apr_uint32_t *mem)
 {
     apr_uint32_t prev = *mem;
     atomic_dec_32(mem);



Mime
View raw message