Remove undefined behavior from a left shift of a negative value.
Remove undefined behavior from a left shift of a negative value.

Fixed by shifting a positive value, then negating the result.

(Credit: Richard Trieu)

Streamlet/GoogleHelper,Streamlet/GoogleHelper,Streamlet/GoogleHelper,Streamlet/GoogleHelper,Streamlet/GoogleHelper