News for hackers. Stuff that matters.
Re:A bug story: data alignment in C on x86 (2016) by unwind on Wednesday September 05, 2018 @06:09AM (#17916543)
Please see https://stackoverflow.com/questions/605845/do-i-cast-the-res... for some thoughts on this.

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.