summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/stream/Client.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2013-01-28 12:12:17 +0100
committerJose <jose@zeroc.com>2013-01-28 12:12:17 +0100
commit50cb7ac42f4e46b7e84e78370d48b8f2aa7e8715 (patch)
tree189fe84abb92e20a84f0602db63f3e7a0442a651 /cpp/test/Ice/stream/Client.cpp
parentICE-5198: zero-copy OutputStream::finished method (diff)
downloadice-50cb7ac42f4e46b7e84e78370d48b8f2aa7e8715.tar.bz2
ice-50cb7ac42f4e46b7e84e78370d48b8f2aa7e8715.tar.xz
ice-50cb7ac42f4e46b7e84e78370d48b8f2aa7e8715.zip
g++4.6 compilation warning
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;