diff options
| author | Peter Maydell | 2013-06-27 16:03:51 +0200 |
|---|---|---|
| committer | Peter Maydell | 2013-07-15 17:17:30 +0200 |
| commit | 8827b0fb66cab9f7978c4e66dad4cf3c0989a72e (patch) | |
| tree | 12dd2050248886384769cc99dc27222437b2bb3a /include/exec/exec-all.h | |
| parent | hw/cpu/a15mpcore: Correct default value for num-irq (diff) | |
| download | qemu-8827b0fb66cab9f7978c4e66dad4cf3c0989a72e.tar.gz qemu-8827b0fb66cab9f7978c4e66dad4cf3c0989a72e.tar.xz qemu-8827b0fb66cab9f7978c4e66dad4cf3c0989a72e.zip | |
sd/pl181.c: Avoid undefined shift behaviour in RWORD macro
Add a cast to avoid potentially shifting into the sign bit of
a signed value, which is undefined behaviour in C.
(Detected with clang's -fsanitize=undefined.)
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1372341831-4264-1-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions
