diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2014-03-17 16:00:36 +0000 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2014-03-27 19:22:49 +0400 |
commit | def60298825ccff006688ab9ee0ebb266c98b7e7 (patch) | |
tree | 8e2619087a7ab12ecc7c3d91c37909d52f17edc0 /hw/ppc/ppc440_bamboo.c | |
parent | 00b0179347bae12c5856c1195b67ef5dc7887b9b (diff) |
hw/intc/openpic: Avoid shifting left into sign bit
Add U suffix to avoid undefined behaviour. This is only strictly
necessary for the 1 << 31 cases; for consistency we extend it
to other constants in the same group.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/ppc/ppc440_bamboo.c')
0 files changed, 0 insertions, 0 deletions