summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/stream/Client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/stream/Client.cpp')
-rw-r--r--cpp/test/Ice/stream/Client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/Ice/stream/Client.cpp b/cpp/test/Ice/stream/Client.cpp
index bc3bb6f95f9..de010c43cff 100644
--- a/cpp/test/Ice/stream/Client.cpp
+++ b/cpp/test/Ice/stream/Client.cpp
@@ -176,7 +176,7 @@ run(int, char**, const Ice::CommunicatorPtr& communicator)
out->endEncapsulation();
out->finished(data);
pair<const Ice::Byte*, const Ice::Byte*> d = out->finished();
- test(d.second - d.first == data.size());
+ test(d.second - d.first == static_cast<int>(data.size()));
test(vector<Ice::Byte>(d.first, d.second) == data);
out = 0;