RE: [gtk-list] gpointer values
- From: "Arjan J. Molenaar" <arjan xirion nl>
- To: "'gtk-list redhat com'" <gtk-list redhat com>
- Subject: RE: [gtk-list] gpointer values
- Date: Wed, 6 Oct 1999 16:45:59 +0200
> Is it safe (or portable) to use GINT_TO_POINTER and
> GPOINTER_TO_INT with short values? Compiler
> is warning me "cast to pointer from integer of different
> size."
No problem AFAIK. pointers are at least 32 bits (on modern systems, I don't think you want to run it on a XT), a short is 16 bits.
regards,
Arjan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]