summaryrefslogtreecommitdiff
path: root/audio
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 /audio
parenteb909c7f72362e3c891d679f6f4eab0885fdb1c1 (diff)
downloadqemu-2c02f88780aa611d669f73b7677aeadc1211de7e.tar.gz
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 'audio')
0 files changed, 0 insertions, 0 deletions