int to short

*edited from int to short because compilation error