aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorAlexander Tkachev2016-06-18 14:34:43 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commitb908b286b9767ff7a0207ce9414279ce5291762c (patch)
tree2c8074d00956983f599e5529f7df6f588a96869e /gui
parent1addefad7e29ff674828c6dad5330c87a4203f29 (diff)
downloadscummvm-rg350-b908b286b9767ff7a0207ce9414279ce5291762c.tar.gz
scummvm-rg350-b908b286b9767ff7a0207ce9414279ce5291762c.tar.bz2
scummvm-rg350-b908b286b9767ff7a0207ce9414279ce5291762c.zip
CLOUD: Fix "signed/unsigned integers" warning
The "comparison between signed and unsigned integer expressions" one. Note that in UploadRequests size() and pos() are acutally signed, because they could return -1. This commit implies that Requests are working with such Streams which doesn't.
Diffstat (limited to 'gui')
-rw-r--r--gui/storagewizarddialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/storagewizarddialog.cpp b/gui/storagewizarddialog.cpp
index 88826c2fb8..6734d1c97e 100644
--- a/gui/storagewizarddialog.cpp
+++ b/gui/storagewizarddialog.cpp
@@ -100,7 +100,7 @@ void StorageWizardDialog::handleCommand(CommandSender *sender, uint32 cmd, uint3
switch (cmd) {
case kCodeBoxCmd: {
Common::String code, message;
- int correctFields = 0;
+ uint32 correctFields = 0;
for (uint32 i = 0; i < CODE_FIELDS; ++i) {
Common::String subcode = _codeWidget[i]->getEditString();
if (subcode.size() == 0) {