diff options
Diffstat (limited to 'common/ring.h')
-rw-r--r-- | common/ring.h | 2 |
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) |