summaryrefslogtreecommitdiff
path: root/tests/Handle_Set_Test.cpp
diff options
context:
space:
mode:
authorcdgill <cdgill@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-12-17 02:33:12 +0000
committercdgill <cdgill@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-12-17 02:33:12 +0000
commit25fed67cccb91808846a26deb63e53b284937fc5 (patch)
tree61d30eeeca1b5a4dbc69927b1e235811b9026274 /tests/Handle_Set_Test.cpp
parent6332e26c88fe2c705ba5590e25805f53bc1c0e57 (diff)
downloadATCD-25fed67cccb91808846a26deb63e53b284937fc5.tar.gz
pSOSim port
Diffstat (limited to 'tests/Handle_Set_Test.cpp')
-rw-r--r--tests/Handle_Set_Test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Handle_Set_Test.cpp b/tests/Handle_Set_Test.cpp
index 87f22c169ce..bf92b5c9b3c 100644
--- a/tests/Handle_Set_Test.cpp
+++ b/tests/Handle_Set_Test.cpp
@@ -36,7 +36,7 @@ test_duplicates (size_t count)
for (size_t i = 0; i < count; i++)
{
- size_t handle = size_t (ACE_OS::rand () % ACE_Handle_Set::MAXSIZE);
+ size_t handle = ACE_static_cast(size_t, ACE_OS::rand () % ACE_Handle_Set::MAXSIZE);
if (ACE_ODD (handle))
{