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

Clive D.W. Feather clive at davros.org
Fri Oct 12 21:52:13 UTC 2012

Paul_Koning at Dell.com said:
> This is a very popular confusion.  In a situation where the type you're dealing with is "pointer" -- for example, in an argument list of a function that has a prototype -- the token 0 means "the null pointer".  It does not mean the integer zero.  Its length is that of a pointer, which may be different from that of the plain integer 0.  But you never write 0L for a null pointer, only 0.

Actually, 0L is equally valid as a null pointer.

Clive D.W. Feather          | If you lie to the compiler,
Email: clive at davros.org     | it will get its revenge.
Web: http://www.davros.org  |   - Henry Spencer
Mobile: +44 7973 377646

More information about the tz mailing list