hw/ide/ahci.c: Avoid shift left into sign bit
commitee25595f0126de0f83da86cc29ba2365be7a50d2
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 28 Mar 2014 15:12:55 +0000 (28 15:12 +0000)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 18 Apr 2014 06:33:36 +0000 (18 10:33 +0400)
tree3ca0ced8c087c66eed997c8c3def0443e1a1b158
parent86e117724a463b865accfd31eed383c2652c3d17
hw/ide/ahci.c: Avoid shift left into sign bit

Add U suffix to avoid shifting left into the sign bit, which
is undefined behaviour.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/ide/ahci.c