diff options
author | Torbjörn Andersson | 2008-12-18 05:04:55 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2008-12-18 05:04:55 +0000 |
commit | 50563cbccec30025f8a2552d0ffbf75c50c5415f (patch) | |
tree | 45b9cbdab731eed8197580e016907f968b0db49a /graphics | |
parent | 4ceecdb25fde5e82f4e96774ebfb28d5d319820c (diff) | |
download | scummvm-rg350-50563cbccec30025f8a2552d0ffbf75c50c5415f.tar.gz scummvm-rg350-50563cbccec30025f8a2552d0ffbf75c50c5415f.tar.bz2 scummvm-rg350-50563cbccec30025f8a2552d0ffbf75c50c5415f.zip |
Fixed warnings. Hopefully without breaking anything.
svn-id: r35420
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/smk_player.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/smk_player.cpp b/graphics/smk_player.cpp index c066d945db..c1295e25e0 100644 --- a/graphics/smk_player.cpp +++ b/graphics/smk_player.cpp @@ -772,7 +772,7 @@ void SMKPlayer::queueCompressedBuffer(byte *buffer, int bufferSize, int unpacked cur = hi + lo; // adding takes care of possible overflows *curPointer++ = cur & 0xFF; // low curPos++; - *curPointer++ = cur & 0xFF00; // high + *curPointer++ = (cur >> 8) & 0xFF; // high curPos++; } @@ -782,7 +782,7 @@ void SMKPlayer::queueCompressedBuffer(byte *buffer, int bufferSize, int unpacked cur = hi + lo; // adding takes care of possible overflows *curPointer++ = cur & 0xFF; // low curPos++; - *curPointer++ = cur & 0xFF00; // high + *curPointer++ = (cur >> 8) & 0xFF; // high curPos++; } } |