summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2012-04-03 09:43:05 +0200
committerQt by Nokia <qt-info@nokia.com>2012-04-03 21:02:32 +0200
commit7108acde8a2838261d6061e75f59c5ff58f37ad4 (patch)
tree495702d495585909833a199499e4a64aa85789b4 /src/network
parentc6272b711fad1360c28bd85ed5be5bc3ca541b41 (diff)
Fix warnings about truncations in constants.
Change-Id: I46872c5b2866454112092c1ec5efbfe15db5af33 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/network')
-rw-r--r--src/network/access/qnetworkcookie.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/access/qnetworkcookie.cpp b/src/network/access/qnetworkcookie.cpp
index 0dbfdb2f0c..7174acc31e 100644
--- a/src/network/access/qnetworkcookie.cpp
+++ b/src/network/access/qnetworkcookie.cpp
@@ -606,7 +606,7 @@ static bool checkStaticArray(int &val, const QByteArray &dateString, int at, con
val = j;
return true;
}
- i += strlen(str) + 1;
+ i += int(strlen(str)) + 1;
++j;
}
}