Steve Mann wrote:
>
> I guess I wasn't very clear. My point was that NULL is not a void
> pointer as Warren Young pedantically asserts. It's merely zero.
$ cat bang.c
#include <stdlib.h>
void bang(void)
{
char c = NULL;
}
$ m68k-palmos-gcc -c bang.c
bang.c: In function `bang':
bang.c:5: warning: initialization makes integer from pointer without a
cast
--
= Warren Young -- Maintainer of the Palm OS Programmer's FAQ at:
= http://www.cyberport.com/~tangent/palm/faq/
=
= ICBM Address: 36.8274040 N, 108.0204086 W, alt. 1714m
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/