heretical question

Bert Wesarg bert.wesarg at googlemail.com
Wed Sep 30 17:38:29 CEST 2009


On Wed, Sep 30, 2009 at 17:02, Helmut Jarausch
<jarausch at igpm.rwth-aachen.de> wrote:
> Since I haven't compiled a newer version NEdit for a long time,
> just two questions:
>
> - 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?
No. That would be fatal. Its the other way around. int are cast to a
void* and than back, so there is no loss of information.

Bert


More information about the Discuss mailing list