apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r584523 - /apr/apr/trunk/atomic/unix/mutex.c
Date Sun, 14 Oct 2007 09:55:15 GMT
Author: rpluem
Date: Sun Oct 14 02:55:15 2007
New Revision: 584523

URL: http://svn.apache.org/viewvc?rev=584523&view=rev
Log:
* Fix compiler warning.

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

Modified: apr/apr/trunk/atomic/unix/mutex.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/atomic/unix/mutex.c?rev=584523&r1=584522&r2=584523&view=diff
==============================================================================
--- apr/apr/trunk/atomic/unix/mutex.c (original)
+++ apr/apr/trunk/atomic/unix/mutex.c Sun Oct 14 02:55:15 2007
@@ -194,7 +194,7 @@
     void *prev;
     DECLARE_MUTEX_LOCKED(mutex, *mem);
 
-    prev = *mem;
+    prev = *(void **)mem;
     *mem = with;
 
     MUTEX_UNLOCK(mutex);



Mime
View raw message