> I think it works with casts, unless there are cases where our INTVAL > cannot hold a pointer. There are currently 2 cases:
Is it always guaranteed that an pointer fits in an INTVAL?
I'm not aware of any platform where size_t cannot hold a pointer, but I can't speak for INTVAL since I don't remember exactly how we determine it without going back to the config code.
We could change PIOHANDLE to size_t, leave the bytecode op as INTVAL, but I'm not sure where that leaves us. I say punt and wait until later to worry about it. :)
-Melvin