diff options
author | 2014-03-28 15:12:57 +0000 | |
---|---|---|
committer | 2014-04-18 10:33:36 +0400 | |
commit | 968fc24d843c9e9b24231ca1960b47ef2fc724ea (patch) | |
tree | 91aa8106991d263be7f484064db73b41c89c6772 /target-openrisc/exception_helper.c | |
parent | int128.h: Avoid undefined behaviours involving signed arithmetic (diff) | |
download | qemu-968fc24d843c9e9b24231ca1960b47ef2fc724ea.tar.xz qemu-968fc24d843c9e9b24231ca1960b47ef2fc724ea.zip |
xbzrle.c: Avoid undefined behaviour with signed arithmetic
Use unsigned types for doing bitwise arithmetic in the xzbrle
calculations, to avoid undefined behaviour:
xbzrle.c:99:49: runtime error: left shift of 72340172838076673
by 7 places cannot be represented in type 'long'
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'target-openrisc/exception_helper.c')
0 files changed, 0 insertions, 0 deletions