Re: [gtk-list] Re: gcc warning
- From: Andy Kahn <kahn zk3 dec com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: gcc warning
- Date: Fri, 5 Feb 1999 09:38:28 -0500
On Fri, Feb 05, 1999 at 09:35:33AM -0500, Jeff Garzik wrote:
...
>
> In practice, you should _always_ cast integers to pointers, and pointers
> to integers, with the Glib macros:
>
you should only do this if you truly are passing around integer
data, and not pointer values (addresses). if not, your program
will crash miserably on a 64-bit platform.
in general, don't mix pointers and integers; they're different
beasts.
--andy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]