> /*
>  * 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....

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


-- 
Øyvind Harboe
Embedded software and hardware consulting services
http://consulting.zylin.com
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to