commit | def60298825ccff006688ab9ee0ebb266c98b7e7 | [log] [tgz] |
---|---|---|
author | Peter Maydell <peter.maydell@linaro.org> | Mon Mar 17 16:00:36 2014 +0000 |
committer | Michael Tokarev <mjt@tls.msk.ru> | Thu Mar 27 19:22:49 2014 +0400 |
tree | 8e2619087a7ab12ecc7c3d91c37909d52f17edc0 | |
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>