summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Trading/Offer_Importer.cpp
diff options
context:
space:
mode:
authorsbw1 <sbw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-08 04:34:07 +0000
committersbw1 <sbw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-08 04:34:07 +0000
commitd965c712ff5a1cc9c4332378052ea1bcdd707c14 (patch)
treea9124f4dcda16f5f62b867ff1232732fc08cad53 /TAO/orbsvcs/tests/Trading/Offer_Importer.cpp
parentdfc791c46f617ced64c4a7f4351aa980693d8000 (diff)
downloadATCD-d965c712ff5a1cc9c4332378052ea1bcdd707c14.tar.gz
Fixed some NT warnings.
Diffstat (limited to 'TAO/orbsvcs/tests/Trading/Offer_Importer.cpp')
-rw-r--r--TAO/orbsvcs/tests/Trading/Offer_Importer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/orbsvcs/tests/Trading/Offer_Importer.cpp b/TAO/orbsvcs/tests/Trading/Offer_Importer.cpp
index 26986a68c87..730949af1fb 100644
--- a/TAO/orbsvcs/tests/Trading/Offer_Importer.cpp
+++ b/TAO/orbsvcs/tests/Trading/Offer_Importer.cpp
@@ -92,7 +92,7 @@ TAO_Offer_Importer::perform_directed_queries (CORBA::Environment& _env)
if (link_name_seq2->length () > 0)
{
- int i = 0;
+ CORBA::ULong i = 0;
CORBA::ULong length = link_name_seq2->length ();
for (i = 0; i < length; i++)
{
@@ -100,7 +100,7 @@ TAO_Offer_Importer::perform_directed_queries (CORBA::Environment& _env)
break;
}
- if (i > -1)
+ if (i < length)
{
CosTrading::LinkName* trader_name =
CosTrading::TraderName::allocbuf (2);