Allows to convert a pointer reference (noPollPtr), which stores an integer that was stored using INT_TO_PTR.
Use the oposite function to restore the pointer value stored in the integer value.