diff options
Diffstat (limited to 'TAO/orbsvcs/tests/Trading/Offer_Importer.cpp')
-rw-r--r-- | TAO/orbsvcs/tests/Trading/Offer_Importer.cpp | 4 |
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); |