Fix shift-negative-value warning