Working on using intptr_t, but most likely abandoning it