aboutsummaryrefslogtreecommitdiff
path: root/common/unzip.h
diff options
context:
space:
mode:
authorColin Snover2017-11-08 16:41:29 -0600
committerColin Snover2017-11-10 09:57:03 -0600
commit972c45398679fb4e983d6092122939389487fa55 (patch)
treed2082b75f317e28a1de994fdcf75199931a0d998 /common/unzip.h
parent51329c0dc6ee56d8b843f058aa3257ec9f30b71a (diff)
downloadscummvm-rg350-972c45398679fb4e983d6092122939389487fa55.tar.gz
scummvm-rg350-972c45398679fb4e983d6092122939389487fa55.tar.bz2
scummvm-rg350-972c45398679fb4e983d6092122939389487fa55.zip
BBVS: Remove all bit shifts of potentially negative integers
Previous patches that removed shifts of constant negative values to eliminate UB were valid, but did not correct all places where this engine was potentially bit shifting negative values. There is no reason to not just use multiplication and division and let the compiler make the right choice for optimisation for an architecture, so that is what this patch does.
Diffstat (limited to 'common/unzip.h')
0 files changed, 0 insertions, 0 deletions