diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-13 15:24:27 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-13 15:24:27 +0000 |
commit | 991a536923aa1797107b5fd2c73898abede61f5f (patch) | |
tree | 500ef6903834ba5aff9d8c3191c73cd6a0260495 | |
parent | 190c8eb3dfbf42de3b9d8617800c2154dcf71e6a (diff) | |
download | ATCD-991a536923aa1797107b5fd2c73898abede61f5f.tar.gz |
(dump_results): changed type of static array elements from int to
CORBA::ULong to avoid signed/unsigned comparisons.
-rw-r--r-- | TAO/orbsvcs/tests/EC_Basic/EC_Basic.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/orbsvcs/tests/EC_Basic/EC_Basic.cpp b/TAO/orbsvcs/tests/EC_Basic/EC_Basic.cpp index 49f5e67ddb1..1e064f3a926 100644 --- a/TAO/orbsvcs/tests/EC_Basic/EC_Basic.cpp +++ b/TAO/orbsvcs/tests/EC_Basic/EC_Basic.cpp @@ -634,7 +634,7 @@ ECB_SupplierID_Test::run (CORBA::ORB_ptr orb, int ECB_SupplierID_Test::dump_results (void) { - static int expected_count[PHASE_END]={ + static CORBA::ULong expected_count[PHASE_END]={ 4 * ECB_SupplierID_Test::EVENTS_SENT, 2 * ECB_SupplierID_Test::EVENTS_SENT, 4 * ECB_SupplierID_Test::EVENTS_SENT, @@ -827,7 +827,7 @@ ECB_Correlation_Test::run (CORBA::ORB_ptr orb, ORBSVCS_Time::hrtime_to_TimeT (e.header.creation_time, t); e.header.ec_recv_time = ORBSVCS_Time::zero; e.header.ec_send_time = ORBSVCS_Time::zero; - + e.data.x = 0; e.data.y = 0; } @@ -858,7 +858,7 @@ ECB_Correlation_Test::run (CORBA::ORB_ptr orb, ORBSVCS_Time::hrtime_to_TimeT (e.header.creation_time, t); e.header.ec_recv_time = ORBSVCS_Time::zero; e.header.ec_send_time = ORBSVCS_Time::zero; - + e.data.x = 0; e.data.y = 0; } @@ -1045,7 +1045,7 @@ ECB_Correlation_Test::run (CORBA::ORB_ptr orb, int ECB_Correlation_Test::dump_results (void) { - static int expected_count[PHASE_END]={ + static CORBA::ULong expected_count[PHASE_END]={ 1 * ECB_Correlation_Test::EVENTS_SENT, 2 * ECB_Correlation_Test::EVENTS_SENT, 2 * ECB_Correlation_Test::EVENTS_SENT, |