switch from longs and shorts to unints