[tz] [PATCH 1/3] Assume C89.

Todd C. Miller Todd.Miller at courtesan.com
Fri Oct 12 17:20:54 UTC 2012


On Fri, 12 Oct 2012 17:09:15 -0000, Paul_Koning at Dell.com wrote:

> Makes no difference; NULL is just a macro that translates to 0, sometimes wit
> h a mostly-unnecessary cast to void*.

Ah but it *does* matter on 64-bit systems where 0 and 0L are not
the same.  In this case, the prototype for select() will result in
the 0 being coerced correctly, but using NULL improves readability
since the parameter is a pointer and not an integer.

 - todd


More information about the tz mailing list