Re: [PATCH] Use NULL instead of integer 0 in security/selinux/

From: Geert Uytterhoeven
Date: Tue Jul 13 2004 - 03:46:51 EST


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@xxxxxxxxxxxxxx

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/