David Laight <david@l8s.co.uk> writes: > #define __UNCONST(a) ((void *)(((const char *)(a) - (const char *)0) + (char *)0)) Although this will likely work on most (if not all) architechtures, it's not really allowed by C. When subtracting pointers they both have to point into the same array. We can probably ignore this for now. /Johan