COMP: Cast to the expected type pointer.