X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Fll.h;h=f59736f1e71c7d3d88990f4a8702405558abe8cf;hb=f5f8c375e650d350eab25680c6aa348229524984;hp=4d0d2eb84a6ba26dd8dfd64735b9113e08a30df0;hpb=0b0a278699196c25f4cf0f690e21c5aea2ccabfb;p=pspp-builds.git diff --git a/src/libpspp/ll.h b/src/libpspp/ll.h index 4d0d2eb8..f59736f1 100644 --- a/src/libpspp/ll.h +++ b/src/libpspp/ll.h @@ -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,