diff options
author | Colin Snover | 2017-11-08 16:41:29 -0600 |
---|---|---|
committer | Colin Snover | 2017-11-10 09:57:03 -0600 |
commit | 972c45398679fb4e983d6092122939389487fa55 (patch) | |
tree | d2082b75f317e28a1de994fdcf75199931a0d998 /common/noncopyable.h | |
parent | 51329c0dc6ee56d8b843f058aa3257ec9f30b71a (diff) | |
download | scummvm-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/noncopyable.h')
0 files changed, 0 insertions, 0 deletions