aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/qapi.py
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-02-21 14:03:01 +0000
committerKevin Wolf <kwolf@redhat.com>2014-03-07 11:29:21 +0100
commit2c02f88780aa611d669f73b7677aeadc1211de7e (patch)
tree8eff96bef7a1f61262d35c943b3233a85a28dc54 /scripts/qapi.py
parentblock: Fix error path segfault in bdrv_open() (diff)
downloadqemu-2c02f88780aa611d669f73b7677aeadc1211de7e.tar.xz
qemu-2c02f88780aa611d669f73b7677aeadc1211de7e.zip
hw/ide/ahci.h: Avoid shifting left into sign bit
Add 'U' suffixes to avoid undefined behaviour shifting left into the signed bit of a signed integer type. Clang's sanitizer will warn about this: hw/ide/ahci.c:1210:27: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/qapi.py')
0 files changed, 0 insertions, 0 deletions