diff options
author | Johannes Schickel | 2008-05-08 21:23:14 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-05-08 21:23:14 +0000 |
commit | b53fe83695318a4e5545185a4fe7e7daa77f2bed (patch) | |
tree | 63375abab1ec4d915c0067400764247b8546155f /engines/kyra/screen.cpp | |
parent | e0689193efa852a4391c9afcf7581238b1c4a0d9 (diff) | |
download | scummvm-rg350-b53fe83695318a4e5545185a4fe7e7daa77f2bed.tar.gz scummvm-rg350-b53fe83695318a4e5545185a4fe7e7daa77f2bed.tar.bz2 scummvm-rg350-b53fe83695318a4e5545185a4fe7e7daa77f2bed.zip |
Silenced some g++ 4.3 warnings.
svn-id: r31956
Diffstat (limited to 'engines/kyra/screen.cpp')
-rw-r--r-- | engines/kyra/screen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/screen.cpp b/engines/kyra/screen.cpp index 0f3d3f0259..6a6141b5c0 100644 --- a/engines/kyra/screen.cpp +++ b/engines/kyra/screen.cpp @@ -1933,7 +1933,7 @@ void Screen::convertAmigaGfx(uint8 *data, int w, int h, bool offscreen) { for (int y = 0; y < h; ++y) { for (int x = 0; x < w; ++x) { int bytePos = x/8+y*40; - int bitPos = 7-x&7; + int bitPos = 7-(x&7); byte colorIndex = 0; colorIndex |= (((tmp[bytePos + 8000 * 0] & (1 << bitPos)) >> bitPos) & 0x1) << 0; |