commit | 72370dc1149d7c90d2c2218e0d0658bee23a5bf7 | [log] [tgz] |
---|---|---|
author | Eduardo Habkost <ehabkost@redhat.com> | Tue Sep 29 17:34:22 2015 -0300 |
committer | Eduardo Habkost <ehabkost@redhat.com> | Fri Oct 23 13:07:27 2015 -0200 |
tree | 6a0d63aca021845905d644615226f729f3dafb69 | |
parent | b6c5a6f021f485fc36bca678b2c867e9b6783924 [diff] |
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>