diff options
author | Bertrand Augereau | 2003-08-13 22:40:57 +0000 |
---|---|---|
committer | Bertrand Augereau | 2003-08-13 22:40:57 +0000 |
commit | 93ca5cb3aff752c452ec5ee5ae108d8cd0b6e30c (patch) | |
tree | 55de9f192d0b248a04829a815f917b81a61bec31 /scumm | |
parent | 0563d61106722e88b9a66b9003aa8d17f239bc52 (diff) | |
download | scummvm-rg350-93ca5cb3aff752c452ec5ee5ae108d8cd0b6e30c.tar.gz scummvm-rg350-93ca5cb3aff752c452ec5ee5ae108d8cd0b6e30c.tar.bz2 scummvm-rg350-93ca5cb3aff752c452ec5ee5ae108d8cd0b6e30c.zip |
Explicitly stated a bit masking to please VC.NET2003 runtime small types conversion checks.
svn-id: r9671
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/gfx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index 0373c6b64f..cb3afd8ded 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -1767,7 +1767,7 @@ void Gdi::unkDecodeA(byte *dst, const byte *src, int height) { cl -= 3; bits >>= 3; if (incm) { - color += incm; + color = (byte)((color+incm)&0xFF); } else { FILL_BITS; reps = bits & 0xFF; |