[riot-notifications] [RIOT] core/priority_queue: cast of root to priority_queue_node_t* is wrong (#3228)

Martine Lenders notifications at github.com
Sat Jun 20 20:49:58 CEST 2015


But the root is a pointer to a much smaller type, so I expect some errors when writing to other fields up `priority_queue_node_t`. But maybe I use the `priirity_queue_t` datatype wrong in NDP (transitively through `ng_pktqueue`), because it is just supposed to be a super-type of `priority_queue_node_t` (as a mean to save memory). But then this has to be documented somewhere. 

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3228#issuecomment-113803986
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150620/61e52c1b/attachment.html>


More information about the notifications mailing list