[Scummvm-git-logs] scummvm master -> d349e911b8f87438ad7ba7dd270102df60aa061f
waltervn
walter at vanniftrik-it.nl
Sun Nov 6 16:40:20 CET 2016
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:
d349e911b8 ADL: Fix warnings
Commit: d349e911b8f87438ad7ba7dd270102df60aa061f
https://github.com/scummvm/scummvm/commit/d349e911b8f87438ad7ba7dd270102df60aa061f
Author: Walter van Niftrik (walter at scummvm.org)
Date: 2016-11-06T16:38:39+01:00
Commit Message:
ADL: Fix warnings
Changed paths:
engines/adl/adl_v2.cpp
diff --git a/engines/adl/adl_v2.cpp b/engines/adl/adl_v2.cpp
index 454e4ac..45810d6 100644
--- a/engines/adl/adl_v2.cpp
+++ b/engines/adl/adl_v2.cpp
@@ -182,8 +182,8 @@ Common::String AdlEngine_v2::loadMessage(uint idx) const {
void AdlEngine_v2::printString(const Common::String &str) {
Common::String s(str);
- int endPos = TEXT_WIDTH - 1;
- int pos = 0;
+ uint endPos = TEXT_WIDTH - 1;
+ uint pos = 0;
while (true) {
while (pos <= endPos && pos != s.size()) {
More information about the Scummvm-git-logs
mailing list