diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-05-19 16:19:01 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-05-19 16:20:08 +0200 |
commit | 49995ee35ff0b26e32303d77df619d3a2fbcb86b (patch) | |
tree | 59cac159b76d07a407149870a9f469251d99ac5c /tests/benchmarks/network/access/qnetworkreply | |
parent | a98ebc599ab7c99a6431d0420d3f0d238f37f6b1 (diff) |
Tests: Fix some compile warnings.
As they are now compiled by default.
Diffstat (limited to 'tests/benchmarks/network/access/qnetworkreply')
-rw-r--r-- | tests/benchmarks/network/access/qnetworkreply/tst_qnetworkreply.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/benchmarks/network/access/qnetworkreply/tst_qnetworkreply.cpp b/tests/benchmarks/network/access/qnetworkreply/tst_qnetworkreply.cpp index 9a07aa4940..a96fa63b5a 100644 --- a/tests/benchmarks/network/access/qnetworkreply/tst_qnetworkreply.cpp +++ b/tests/benchmarks/network/access/qnetworkreply/tst_qnetworkreply.cpp @@ -501,7 +501,7 @@ void tst_qnetworkreply::echoPerformance() QByteArray data; data.resize(1024*1024*10); // 10 MB // init with garbage. needed so ssl cannot compress it in an efficient way. - for (int i = 0; i < data.size() / sizeof(int); i++) { + for (size_t i = 0; i < data.size() / sizeof(int); i++) { int r = qrand(); data.data()[i*sizeof(int)] = r; } |