Nima Hoda <nimah...@gmail.com> wrote:

> x11/xfm file manager segfaults on OpenBSD 4.6-stable/amd64 due to many
> vararg libXt calls (XtVa...) being terminated with 0

Good catch.

> instead of with NULL.

But this is wrong.  They need to be terminated with (void *)0.
Or (void *)NULL if you like.  Plain NULL is _not_ a null pointer
constant.

http://www.c-faq.com/null/index.html

-- 
Christian "naddy" Weisgerber                          na...@mips.inka.de

Reply via email to