Widen integers being stuffed into objPtr to silence warnings