Yes for real data type changes like char to integer.
And smallint and integer values are hashed the same (for smallint range)
Check the outcome of hashrow
select hashrow(cast('123' as char(10)))
select hashrow(cast('123' as varchar(100)))
select hashrow(cast('123' as integer))
subt["select hashrow(cast('123' as smallint))"]