On Sun, 2006-07-16 at 14:52:41 +0300, ext Tomi Ollila wrote:
> Also, maybe better (or worse!) is (char *)(((int)address + 3) & ~3),
> assumed that sizeof (char *) == sizeof (int).

> This latter version seems to compile...

And runs... on this architecture, but not on others. ;)
If you have to use something like this, use intptr_t instead of int.

regards,
guillem
_______________________________________________
maemo-developers mailing list
[email protected]
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to