aboutsummaryrefslogtreecommitdiff
path: root/scripts/coverity-model.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-03-28 15:12:57 +0000
committerMichael Tokarev <mjt@tls.msk.ru>2014-04-18 10:33:36 +0400
commit968fc24d843c9e9b24231ca1960b47ef2fc724ea (patch)
tree91aa8106991d263be7f484064db73b41c89c6772 /scripts/coverity-model.c
parent423d00c857ebc814ef6b5fc63f1d6c595cdc005d (diff)
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 'scripts/coverity-model.c')
0 files changed, 0 insertions, 0 deletions