integer to smallint.