by beagle3 · 6y ago · 0 comments
The “don’t cast” consensus is about NULL remaining 0L and not of any pointer type (as was the case in some standard libraries in the early 90s)
Note also that the comma should be an asterisk.
int *x;
char *y = x;
or similar. But if x was "void*", it really should work on all C compilers.