On Mon, 2005-11-07 at 21:36 +0100, Christian Thalinger wrote: > On Mon, 2005-11-07 at 14:15 -0700, Tom Tromey wrote: > > >>>>> "Twisti" == Christian Thalinger <[EMAIL PROTECTED]> writes: > > > > Twisti> +#if SIZEOF_VOID_P == 8 > > Twisti> +static long current_selection = 0; > > Twisti> +#else > > Twisti> static int current_selection = 0; > > Twisti> +#endif > > > > How about, instead of testing SIZEOF_VOID_P all over, we use a > > typedef? Or, given that this is gtk-using code, use the > > GPOINTER_TO_SIZE and GSIZE_TO_POINTER macros where appropriate? > > Sounds good to me. Didn't know that such macros exist in classpath. In > CACAO we use a typedef for such stuff.
So, what is the suggested fix now? TWISTI _______________________________________________ Classpath-patches mailing list [email protected] http://lists.gnu.org/mailman/listinfo/classpath-patches
