Update pointerval.cpp