Re: [Linux-ia64] integer -> pointer question

Michael Madore
2000-07-31T23:14:36Z

> Hi Michael
>
> Storing integers in void pointers without a cast is simply broken and
> nobody should do that or to be more precise you cannot expect void *
> to be the same size as int.
>
> Basically the correct solution is to LART the programmer of the bad
> code.
>
> Jes

The code does perform the cast, but since the upper four bytes of the
pointer will be meaningless, it's spits out a warning.

Mike