diff options
author | Colin Snover | 2017-11-19 12:46:21 -0600 |
---|---|---|
committer | Colin Snover | 2017-11-19 12:48:14 -0600 |
commit | 617497d09454694c8601c044613e56c75b777062 (patch) | |
tree | 2b29ca1c8b19ad0ea70c371cfae33a17e89cc85a /engines/sci/graphics | |
parent | d874208520746df2d73b775902e3269350e9ea40 (diff) | |
download | scummvm-rg350-617497d09454694c8601c044613e56c75b777062.tar.gz scummvm-rg350-617497d09454694c8601c044613e56c75b777062.tar.bz2 scummvm-rg350-617497d09454694c8601c044613e56c75b777062.zip |
SCI: Fix UB shifting negative integers
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r-- | engines/sci/graphics/cursor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/cursor.cpp b/engines/sci/graphics/cursor.cpp index 6b18dce518..9c26d816a1 100644 --- a/engines/sci/graphics/cursor.cpp +++ b/engines/sci/graphics/cursor.cpp @@ -113,7 +113,7 @@ void GfxCursor::kernelSetShape(GuiResourceId resourceId) { byte colorMapping[4]; int16 x, y; byte color; - int16 maskA, maskB; + uint16 maskA, maskB; byte *pOut; int16 heightWidth; |