On Sun, Mar 09, 2008 at 05:50:16PM +0100, Pierre Habouzit wrote: > > AHAHAHAHAHA I totally missed that part in the first read. You're > totally on crack. Under C, NULL is defined as (void *)0 > (and *NOT* (char *)0 that is TOTALLY wrong for obvious reasons), and > "someone" is not going to #define NULL 0.
It is defined like that on some OSs. It's perfectly valid to do that. In case of stdarg you need to cast NULL to a pointer. > But please, (char *)0 is not only wrong, > it's also tasteless and ugly to the eye. I've suggested the use of (char *)NULL in the case that it's needed. Kurt -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

