diff options
Diffstat (limited to 'engines/glk/alan3/decode.cpp')
| -rw-r--r-- | engines/glk/alan3/decode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/glk/alan3/decode.cpp b/engines/glk/alan3/decode.cpp index 4fe2af7df1..41afbddca6 100644 --- a/engines/glk/alan3/decode.cpp +++ b/engines/glk/alan3/decode.cpp @@ -48,7 +48,7 @@ static int inputBit(void) if (!bitsToGo) { /* No, so get more */ decodeBuffer = (textFile->pos() >= textFile->size()) ? EOD : textFile->readByte(); - if (decodeBuffer == EOD) { + if (decodeBuffer == (int)EOD) { garbageBits++; if (garbageBits > VALUEBITS-2) syserr("Error in encoded data file."); |
