[Scummvm-git-logs] scummvm master -> 73293d1cbe1290f477e3b17ede540b9d6f009ef3
aquadran
noreply at scummvm.org
Sat Dec 18 23:07:33 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
73293d1cbe ICB: Fixed compiler warning
Commit: 73293d1cbe1290f477e3b17ede540b9d6f009ef3
https://github.com/scummvm/scummvm/commit/73293d1cbe1290f477e3b17ede540b9d6f009ef3
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2021-12-19T00:07:27+01:00
Commit Message:
ICB: Fixed compiler warning
Changed paths:
engines/icb/jpeg_decode.cpp
diff --git a/engines/icb/jpeg_decode.cpp b/engines/icb/jpeg_decode.cpp
index 41d79a78a5..b697b93474 100644
--- a/engines/icb/jpeg_decode.cpp
+++ b/engines/icb/jpeg_decode.cpp
@@ -442,7 +442,7 @@ static void njDecodeBlock(nj_component_t *c, byte *out) {
coef += (code >> 4) + 1;
if (coef > 63)
njThrow(NJ_SYNTAX_ERROR);
- nj.block[njZZ[coef]] = value * nj.qtab[c->qtsel][coef];
+ nj.block[(int)njZZ[coef]] = value * nj.qtab[c->qtsel][coef];
} while (coef < 63);
for (coef = 0; coef < 64; coef += 8)
njRowIDCT(&nj.block[coef]);
More information about the Scummvm-git-logs
mailing list