On Oct 19, 2007, at 5:24 PM, Stefan Dösinger wrote: > Am Freitag, 19. Oktober 2007 23:18:51 schrieb Ken Thomases: >> This makes the test test the proper thing on Mac OS X. It still >> fails, but >> for a good reason. >> --- >> configure.ac | 6 +++--- >> 1 files changed, 3 insertions(+), 3 deletions(-) > >> - char *name=NULL; >> + char *name=0; > Shouldn't that be (void *) 0 or (char *) 0? >
I don't think that's necessary. It compiled without warning here, even with -Wall. Doesn't the C standard says that 0 casts to a pointer naturally? Maybe that's C++. -Ken