summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/binding/AllTests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/binding/AllTests.cpp')
-rw-r--r--cpp/test/Ice/binding/AllTests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/Ice/binding/AllTests.cpp b/cpp/test/Ice/binding/AllTests.cpp
index 39b6d1cc760..67c1e42ac0c 100644
--- a/cpp/test/Ice/binding/AllTests.cpp
+++ b/cpp/test/Ice/binding/AllTests.cpp
@@ -239,7 +239,7 @@ allTests(Test::TestHelper* helper)
#else
if(count < 20 && count % 4 == 0)
{
- com->deactivateObjectAdapter(adapters[count / 4 - 1]);
+ com->deactivateObjectAdapter(adapters[static_cast<size_t>(count / 4 - 1)]);
--adapterCount;
}
#endif