case: Add support for debugging case reference count leaks.
[pspp-builds.git] / src / libpspp / ll.h
index 4d0d2eb84a6ba26dd8dfd64735b9113e08a30df0..f59736f1e71c7d3d88990f4a8702405558abe8cf 100644 (file)
@@ -380,7 +380,7 @@ ll_tail (const struct ll_list *list)
 static inline struct ll *
 ll_null (const struct ll_list *list)
 {
-  return (struct ll *) &list->null;
+  return CONST_CAST (struct ll *, &list->null);
 }
 
 /* Returns the node following LL in its list,