diff options
author | Benoit Foucher <benoit@zeroc.com> | 2017-02-10 20:09:18 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2017-02-10 20:09:18 +0100 |
commit | cfae6583d3f8eb2434a6398fb4b086584cabc3d0 (patch) | |
tree | adada2c90a8a92fa3ad5e559baf65eead9aa54e8 /cpp | |
parent | extra fixes to preserve IceGridGUI Java preferences (diff) | |
download | ice-cfae6583d3f8eb2434a6398fb4b086584cabc3d0.tar.bz2 ice-cfae6583d3f8eb2434a6398fb4b086584cabc3d0.tar.xz ice-cfae6583d3f8eb2434a6398fb4b086584cabc3d0.zip |
Fixed build failure introduced with previous commit
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/test/IceGrid/activation/AllTests.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/test/IceGrid/activation/AllTests.cpp b/cpp/test/IceGrid/activation/AllTests.cpp index 7fba9e9975e..f526991f835 100644 --- a/cpp/test/IceGrid/activation/AllTests.cpp +++ b/cpp/test/IceGrid/activation/AllTests.cpp @@ -270,7 +270,7 @@ allTests(const Ice::CommunicatorPtr& communicator) { } - test(query->findAllObjectsByType("Test").size() == count - 1); + test(static_cast<int>(query->findAllObjectsByType("Test").size()) == count - 1); try { @@ -301,7 +301,7 @@ allTests(const Ice::CommunicatorPtr& communicator) { } test(admin->getServerState("server-manual") == IceGrid::Inactive); - test(query->findAllObjectsByType("Test").size() == count - 2); + test(static_cast<int>(query->findAllObjectsByType("Test").size()) == count - 2); test(admin->getServerState("server-always") == IceGrid::Active); admin->enableServer("server-always", false); @@ -324,7 +324,7 @@ allTests(const Ice::CommunicatorPtr& communicator) { } test(admin->getServerState("server-always") == IceGrid::Inactive); - test(query->findAllObjectsByType("Test").size() == count - 3); + test(static_cast<int>(query->findAllObjectsByType("Test").size()) == count - 3); test(admin->getServerState("server") == IceGrid::Inactive); admin->enableServer("server", true); @@ -346,7 +346,7 @@ allTests(const Ice::CommunicatorPtr& communicator) admin->stopServer("server"); test(admin->getServerState("server") == IceGrid::Inactive); - test(query->findAllObjectsByType("Test").size() == count - 2); + test(static_cast<int>(query->findAllObjectsByType("Test").size()) == count - 2); } catch(const Ice::LocalException& ex) { |