2 The code performs an unsigned right shift, whose result is then
3 cast to a short or byte, which discards the upper bits of the result.
4 Since the upper bits are discarded, there may be no difference between
5 a signed and unsigned right shift (depending upon the size of the shift).