fix bug #44297: IntPtg must operate with unsigned short. Reading signed short results in incorrect formula calculation.