Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on A bug story: data alignment in C on x86 (2016). Parent comment
In short (as already stated, of course), you don't need to cast void * in C to/from other object pointers. Adding a cast to the return value of malloc() is a bad idea (I'm biased).
There are no comments on this comment yet.
In short (as already stated, of course), you don't need to cast void * in C to/from other object pointers. Adding a cast to the return value of malloc() is a bad idea (I'm biased).