hw/usb/hcd-ohci.c: Avoid shifting left into sign bit
commit00b0179347bae12c5856c1195b67ef5dc7887b9b
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 17 Mar 2014 16:00:35 +0000 (17 16:00 +0000)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 27 Mar 2014 15:22:49 +0000 (27 19:22 +0400)
tree87798009977e47099140829b686c3581de54ca51
parentf45cb2f43f5bb0a4122a64e61c746048b59a84ed
hw/usb/hcd-ohci.c: Avoid shifting left into sign bit

Add U suffix to avoid undefined behaviour. This is only
strictly necessary for the 1<<31 cases, but we add it for the
other constants in these groups for consistency.

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