[Scummvm-git-logs] scummvm master -> 82e0a09610e3657c16f4aef1a2fae6b503acc4ad
sev-
sev at scummvm.org
Wed Jan 29 21:57:36 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:
82e0a09610 DIRECTOR: Fix compiler warning
Commit: 82e0a09610e3657c16f4aef1a2fae6b503acc4ad
https://github.com/scummvm/scummvm/commit/82e0a09610e3657c16f4aef1a2fae6b503acc4ad
Author: jepael (jepael at users.noreply.github.com)
Date: 2020-01-29T22:57:32+01: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 2228edd..fa93123 100644
--- a/engines/director/images.cpp
+++ b/engines/director/images.cpp
@@ -202,7 +202,7 @@ bool BITDDecoder::loadStream(Common::SeekableReadStream &stream) {
stream.readUint16BE();
}
- if (pixels.size() < _surface->w * _surface->h) {
+ if (pixels.size() < (uint32)_surface->w * _surface->h) {
int tail = _surface->w * _surface->h - pixels.size();
warning("BITDDecoder::loadStream(): premature end of stream (%d of %d pixels)",
More information about the Scummvm-git-logs
mailing list