At 02:21 PM 9/20/2001 -0400, Andy Dougherty wrote: >On Thu, 20 Sep 2001, Dan Sugalski wrote: > > > At 04:38 PM 9/20/2001 +0100, Simon Cozens wrote: > > >On Thu, Sep 20, 2001 at 11:39:52AM -0400, Dan Sugalski wrote: > > > > I don't want to do int->pointer casts anywhere in the source if we can > > > > possibly avoid it. Yech. > > > > > >In which case, do we *need* a type that can hold both. > > > > I can't think of a reason, no. I don't promise that a reason doesn't > exist, > > however. :) > >Well, the following (macro-expanded) line in register.c tries to go both >ways: > > chunk_base = (void *)(0xfffff000 & (IV) interpreter->int_reg ) ; True. That's one of the really evil bits, though. (As is a good chunk of memory.c...) I only yanked in IV as a typecast as a convenience, and it really ought to be something else. Dan --------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk