[Scummvm-git-logs] scummvm master -> 1334292a62018e47003889ebeb11449d167710c9
sev-
sev at scummvm.org
Sun Jun 14 23:14:17 UTC 2020
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:
1334292a62 DIRECTOR: Fix compiler warning
Commit: 1334292a62018e47003889ebeb11449d167710c9
https://github.com/scummvm/scummvm/commit/1334292a62018e47003889ebeb11449d167710c9
Author: jepael (jepael at users.noreply.github.com)
Date: 2020-06-15T01:14:14+02:00
Commit Message:
DIRECTOR: Fix compiler warning
Changed paths:
engines/director/images.cpp
diff --git a/engines/director/images.cpp b/engines/director/images.cpp
index 45ff4ae928..e40f9e869c 100644
--- a/engines/director/images.cpp
+++ b/engines/director/images.cpp
@@ -199,7 +199,7 @@ bool BITDDecoder::loadStream(Common::SeekableReadStream &stream) {
// we assume it is uncompressed.
if (stream.size() == _surface->pitch * _surface->h * _bitsPerPixel / 8) {
debugC(6, kDebugImages, "Skipping compression");
- for (uint i = 0; i < stream.size(); i++) {
+ for (int i = 0; i < stream.size(); i++) {
pixels.push_back((int)stream.readByte());
}
} else {
More information about the Scummvm-git-logs
mailing list