http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48851
--- Comment #7 from Andreas Schwab <sch...@linux-m68k.org> 2011-05-03 16:20:35 UTC --- 0 is a valid null pointer constant in C. If you want to use NULL as a sentinel you must always cast it.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48851
--- Comment #7 from Andreas Schwab <sch...@linux-m68k.org> 2011-05-03 16:20:35 UTC --- 0 is a valid null pointer constant in C. If you want to use NULL as a sentinel you must always cast it.