Exactly.  This is what that type was designed to do.

On Mon, 2009-05-11 at 18:16 +0100, Nick Brereton wrote:
> How about C99's intptr_t ?
> 
> -----Original Message-----
> From: openocd-development-boun...@lists.berlios.de 
> [mailto:openocd-development-boun...@lists.berlios.de] On Behalf Of David 
> Brownell
> Sent: 11 May 2009 18:12
> To: Øyvind Harboe
> Cc: openocd-development@lists.berlios.de
> Subject: Re: [Openocd-development] svn head build issues
> 
> On Monday 11 May 2009, Øyvind Harboe wrote:
> > >> so I could either go with a union or these fancy games.
> > >
> > > How about using a design that doesn't rely on type punning?
> > >
> > > It'll be more clear to read/understand, and less fragile for
> > > folk using "other" systems (e.g. 64-bit) and for developers.
> >
> > union?
> 
> As a near-term answer I doubt you'll get anything better.
> Longer term ... hard to say.
> _______________________________________________
> Openocd-development mailing list
> Openocd-development@lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/openocd-development
> _______________________________________________
> Openocd-development mailing list
> Openocd-development@lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/openocd-development

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to