diff options
author | Paul Gilbert | 2019-06-25 22:37:19 -0700 |
---|---|---|
committer | Paul Gilbert | 2019-07-06 15:27:07 -0700 |
commit | 822cd6f16564a4fbb3436600894c144bf9e160d6 (patch) | |
tree | 876058f5583b98c9458c79b866b0b61746c5c380 /engines/glk/alan3/decode.cpp | |
parent | cd7cf4141425e3e77b164d2dbcbae8de1eacb035 (diff) | |
download | scummvm-rg350-822cd6f16564a4fbb3436600894c144bf9e160d6.tar.gz scummvm-rg350-822cd6f16564a4fbb3436600894c144bf9e160d6.tar.bz2 scummvm-rg350-822cd6f16564a4fbb3436600894c144bf9e160d6.zip |
GLK: ALAN3: Further warning fixes
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 c06d19aa48..233228bab2 100644 --- a/engines/glk/alan3/decode.cpp +++ b/engines/glk/alan3/decode.cpp @@ -93,7 +93,7 @@ int decodeChar(void) f = (((long)(value-low)+1)*freq[0]-1)/range; /* Find the symbol */ - for (symbol = 1; freq[symbol] > f; symbol++); + for (symbol = 1; (int)freq[symbol] > f; ++symbol) {} high = low + range*freq[symbol-1]/freq[0]-1; low = low + range*freq[symbol]/freq[0]; |