heretical question

Paul Gevers paul at climbing.nl
Wed Sep 30 17:28:42 CEST 2009


> - I'm working on a AMD64 machine and I get quite a lot of
>   warning because of casting to an int/pointer of different size.
>   After a  short look at the source I think these are
>   innocent (mostly casting a some user data of type (void*) to an int).
>   Am I right?

If you want, there is a patch in the bug tracker [1]. It fixes these
warnings by casting to uintptr_t instead of int.

Paul

[1]
https://sourceforge.net/tracker/?func=detail&atid=311005&aid=2846694&group_id=11005


More information about the Discuss mailing list