On Mon, Feb 4, 2013 at 11:15 AM, Lennart Poettering <lenn...@poettering.net> wrote: > We actually care about readability of the sources and non-Linux systems > are out-of-focus for us. Can you tell me which Linux system has > sizeof(void*) != sizeof(char*)? Otherwise, I only see this as pointless > excercise of making our sources less readable... > > Or am I missing something here?
I believe it is legal (but glibc doesn't seem to do it) to define NULL simply as 0, so sizeof NULL == sizeof(int), which can be different from sizeof(void*). -- Michał Bartoszkiewicz <mbartoszkiew...@gmail.com> _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel