summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/ring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/ring.h b/common/ring.h
index 890e5cd..b13bc7d 100644
--- a/common/ring.h
+++ b/common/ring.h
@@ -74,7 +74,7 @@ static inline void __ring_remove(RingItem *item)
{
item->next->prev = item->prev;
item->prev->next = item->next;
- item->prev = item->next = 0;
+ item->prev = item->next = NULL;
}
static inline void ring_remove(RingItem *item)