------- Comment #6 from ktietz at gcc dot gnu dot org 2009-08-31 19:29 ------- Created an attachment (id=18457) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18457&action=view) Remove cast warnings for target with sizeof (void *)>sizeof(long)
If define __INTPTR_TYPE__ is present, this patch uses it to cast from pointer to long, and from long to pointer. Tested for i686-pc-mingw32 and for x86_64-pc-mingw32. Ok, for apply? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36385