mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-02 07:28:32 +00:00
Fix reported compiler warning.
svn-id: r26828
This commit is contained in:
parent
9a04d1dffb
commit
b1a95b502d
@ -36,7 +36,7 @@ enum {
|
|||||||
static void uncompressPlane(const byte *plane, byte *outptr, int length) {
|
static void uncompressPlane(const byte *plane, byte *outptr, int length) {
|
||||||
while (length != 0) {
|
while (length != 0) {
|
||||||
int wordlen;
|
int wordlen;
|
||||||
char x = *plane++;
|
signed char x = *plane++;
|
||||||
if (x >= 0) {
|
if (x >= 0) {
|
||||||
wordlen = MIN<int>(x + 1, length);
|
wordlen = MIN<int>(x + 1, length);
|
||||||
uint16 w = READ_UINT16(plane); plane += 2;
|
uint16 w = READ_UINT16(plane); plane += 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user