Messages in this thread | | | Date | Tue, 13 Jul 2004 10:43:39 +0200 (MEST) | From | Geert Uytterhoeven <> | Subject | Re: [PATCH] Use NULL instead of integer 0 in security/selinux/ |
| |
On Sun, 11 Jul 2004, Olaf Titz wrote: > in C. (Worse in C++ where usage of NULL is discouraged, I've always > wondered about the reasons.)
[ wondered about this as well, but the answer has been posted before in this thread ]
Because C++ doesn't do implicit conversions from void * to anything *.
Gr{oetje,eeting}s,
Geert
-- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |