]> git.ozlabs.org Git - ccan/commitdiff
cast: fix cast of void * when we don't have GCC features.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 22 Mar 2011 01:23:17 +0000 (11:53 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 22 Mar 2011 01:23:17 +0000 (11:53 +1030)
I thought using sizeof() comparison to compare the types was clever,
but it doesn't work on void pointers, as sizeof(void) is illegal.


No differences found