News for hackers. Stuff that matters.
Re:The Linux Kernel Looks to "Bite the Bullet" in Enabling M... by qalmakka on Tuesday November 11, 2025 @04:14AM (#45885440)

   struct parent *p = (struct child *)c; // valid
Note that this cast would be valid without the MS extensions too, you can always cast a pointer to a struct to a pointer to its first member and viceversa. What the MS extensions allow you to do is to just do `c->i` directly, without having to name the parent

There are no comments on this comment yet.