I was just starting to go down @arrbee's road, and was thinking it was more trouble than it was worth. I just pushed the `intptr_t` cast method.