summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPeter Maydell2014-03-28 16:12:56 +0100
committerMichael Tokarev2014-04-18 08:33:36 +0200
commit423d00c857ebc814ef6b5fc63f1d6c595cdc005d (patch)
treec032e6853c2ad0239eb3bcabf1a960638db6a523 /scripts
parenthw/ide/ahci.c: Avoid shift left into sign bit (diff)
downloadqemu-423d00c857ebc814ef6b5fc63f1d6c595cdc005d.tar.gz
qemu-423d00c857ebc814ef6b5fc63f1d6c595cdc005d.tar.xz
qemu-423d00c857ebc814ef6b5fc63f1d6c595cdc005d.zip
int128.h: Avoid undefined behaviours involving signed arithmetic
Add casts when we're performing arithmetic on the .hi parts of an Int128, to avoid undefined behaviour. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions