On Mon, 2009-11-09 at 09:32 +0100, Nicola Fontana wrote:
> Change 0 to NULL: on 64 bit platforms 0 != NULL, hence the property list
> is not terminated.

Even better, in C, is to use (void *)0 or (void *)NULL, since in C it is
acceptable for NULL to be #defined as 0, even though that tends to make
people angry when they encounter situations like this. (I don't know
enough C++ to say what the situation is there.)


_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to