Possible problems with _RBTree_Container_of

Ralf Corsepius ralf.corsepius at rtems.org
Wed Nov 9 09:13:24 UTC 2011

On 11/08/2011 11:59 PM, Gedare Bloom wrote:
> Hi Sebastien,
> I originally wrote this code, but I casted the node to a size_t. It
> looks like the macro was changed recently without a PR
Correct, your code was multiliply broken, It likely only worked by 
random accident on some targets.

> so I must have
> missed it in the VC logs and will take a look.
It was me.

> The possible problem isn't really solved by casting to void*,
Agreed - I don't see what add a cast to void* would fix.


More information about the users mailing list