Fix reported compiler warning.
svn-id: r26828
This commit is contained in:
parent
9a04d1dffb
commit
b1a95b502d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue