diff options
Diffstat (limited to 'engines/glk/alan2/decode.cpp')
-rw-r--r-- | engines/glk/alan2/decode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/glk/alan2/decode.cpp b/engines/glk/alan2/decode.cpp index 3a93d1d3a8..58e814f97f 100644 --- a/engines/glk/alan2/decode.cpp +++ b/engines/glk/alan2/decode.cpp @@ -60,7 +60,7 @@ void Decode::startDecoding() { int Decode::decodeChar() { const long range = (long)(_high - _low) + 1; - const int f = (((long)(_value - _low) + 1) * _freq[0] - 1) / range; + const uint f = (((long)(_value - _low) + 1) * _freq[0] - 1) / range; int symbol; // Find the symbol |