X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=config%2Flist.h;h=685d80e1bb0e77de75a97a2ada22991131597b58;hb=a423328607a8dfbf84e3b92cbde918a8bd7a8c8d;hp=ea1d58119d20c291d1f185c33e7cb0036e301112;hpb=804ea83f028087bf20b21ede2a41f9ab5efe0df1;p=carl9170fw.git diff --git a/config/list.h b/config/list.h index ea1d581..685d80e 100644 --- a/config/list.h +++ b/config/list.h @@ -125,7 +125,7 @@ static inline void __list_del(struct list_head *prev, struct list_head *next) static inline void list_del(struct list_head *entry) { __list_del(entry->prev, entry->next); - entry->next = LIST_POISON1; - entry->prev = LIST_POISON2; + entry->next = (struct list_head*)LIST_POISON1; + entry->prev = (struct list_head*)LIST_POISON2; } #endif