summaryrefslogtreecommitdiffstats
path: root/include/exec/user
diff options
context:
space:
mode:
authorEduardo Habkost2015-09-29 22:34:22 +0200
committerEduardo Habkost2015-10-23 17:07:27 +0200
commit72370dc1149d7c90d2c2218e0d0658bee23a5bf7 (patch)
tree6a0d63aca021845905d644615226f729f3dafb69 /include/exec/user
parenttarget-i386: Add DE to TCG_FEATURES (diff)
downloadqemu-72370dc1149d7c90d2c2218e0d0658bee23a5bf7.tar.gz
qemu-72370dc1149d7c90d2c2218e0d0658bee23a5bf7.tar.xz
qemu-72370dc1149d7c90d2c2218e0d0658bee23a5bf7.zip
target-i386: Use 1UL for bit shift
Fix undefined behavior detected by clang runtime check: qemu/target-i386/cpu.c:1494:15: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' While doing that, add extra parenthesis for clarity. Reported-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'include/exec/user')
0 files changed, 0 insertions, 0 deletions