char * cast on NULL?

Oswald Buddenhagen ossi at kde.org
Sun Sep 26 11:15:45 UTC 2004


On Sun, Sep 26, 2004 at 12:54:49PM +0200, Leonard den Ottolander wrote:
> What is the use of the introduction of char * casts on NULL variables?
> 
we discussed this to death on the kde lists, lkml had a monster thread
about this recently (again), and i bet every other bigger project had
this discussion ...
the outcome is, that it doesn't matter anywhere but when passing null
pointers through varargs. in all other cases it's about style, and taste
differs.

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.



More information about the mc-devel mailing list