castLong method support Short type