Mail Archives: djgpp/1998/09/08/11:03:40
On Tue, 8 Sep 1998, Elliott Oti wrote:
> allegro.h: In function `movedatal':
> allegro.h:234: warning: cast to pointer from integer of different size
>
> -- I let these ride.
Beware: Alpha's long is 64-bit wide whereas a pointer is 32 bits (or is it
the other way around?), so the compiler tells you here that you are
casting 64 bits to 32 bits, which is not a very good idea...
Many programs which assume that pointers and longs are the same size
break on Alpha (the core dump at run time).
- Raw text -