Fix UC_ATOMIC_ADD

This commit is contained in:
Nils O. Selåsdal
2013-07-19 20:53:36 +02:00
parent 6809a68060
commit 679b4b12e5
+1 -1
View File
@@ -30,7 +30,7 @@
* Atomically increment *ptr * Atomically increment *ptr
* @return *ptr before the increment * @return *ptr before the increment
*/ */
#define UC_ATOMIC_INC(ptr) UC_ATOMIC_SUB((ptr), 1) #define UC_ATOMIC_INC(ptr) UC_ATOMIC_ADD((ptr), 1)
/** /**