diff options
Diffstat (limited to 'cpp/demo/Ice/throughput/Client.cpp')
-rw-r--r-- | cpp/demo/Ice/throughput/Client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/demo/Ice/throughput/Client.cpp b/cpp/demo/Ice/throughput/Client.cpp index c1377c9baf6..90ca86f48ea 100644 --- a/cpp/demo/Ice/throughput/Client.cpp +++ b/cpp/demo/Ice/throughput/Client.cpp @@ -283,12 +283,12 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) } case '2': { - wireSize = stringSeq[0].size(); + wireSize = static_cast<int>(stringSeq[0].size()); break; } case '3': { - wireSize = structSeq[0].s.size(); + wireSize = static_cast<int>(structSeq[0].s.size()); wireSize += 8; // Size of double on the wire. break; } |