Fix shift that is out of range.

Bug detected by error prone.

Change-Id: I2d8c44e0cc1fa1437ff40093b8f1dc0c544ed8b0
1 file changed