[MPlayer-dev-eng] [PATCH] cast null pointers
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Thu Aug 12 18:54:35 CEST 2010
On Thu, Aug 12, 2010 at 04:56:49PM +0100, Edd Barrett wrote:
> Just a small stylistic note. Null pointers for execl should be casted to
> pointer types. Pointed out to me by naddy@ (http://c-faq.com/null/null2.html):
What a nonsense, the C99 standard (e.g. section 7.17) specifies NULL
as a "null pointer constant", so it is required to be a pointer type.
Some implementations may not conform to this, but unless you know
of a specific one where this actually causes issues this is just
obfuscation.
More information about the MPlayer-dev-eng
mailing list