On Mon, 11 May 2009, Øyvind Harboe wrote:

> > /*
> >  * We don't care about the real pointer but only the low 32 bits of it
> >  * for some funky hash lookup.  The double cast removes warnings on
> >  * 64-bit machines.
> >  */
> > #define PTR_TO_HASH(X) ((int)(long)(x))
> 
> Any reason not to use an inline fn? That would throw in some typechecking....

Good point.

> Would you care to formulate a patch since you have a 64 bit system handy?

Sure.  I'd need some actual explanation for this game though.  The above 
was only wild guessing without looking deeply at the code.


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

Reply via email to