Changeset 6919 for source/ariba/communication/BaseCommunication.cpp
- Timestamp:
- Nov 13, 2009, 1:41:34 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/communication/BaseCommunication.cpp
r6828 r6919 539 539 /// query a descriptor by local link id 540 540 BaseCommunication::LinkDescriptor& BaseCommunication::queryLocalLink( const LinkID& link ) const { 541 for ( int i=0; i<linkSet.size();i++)541 for (size_t i=0; i<linkSet.size();i++) 542 542 if (linkSet[i]->localLink == link) return (LinkDescriptor&)*linkSet[i]; 543 543 … … 547 547 /// query a descriptor by remote link id 548 548 BaseCommunication::LinkDescriptor& BaseCommunication::queryRemoteLink( const LinkID& link ) const { 549 for ( int i=0; i<linkSet.size();i++)549 for (size_t i=0; i<linkSet.size();i++) 550 550 if (linkSet[i]->remoteLink == link) return (LinkDescriptor&)*linkSet[i]; 551 551 … … 555 555 LinkIDs BaseCommunication::getLocalLinks( const address_v* addr ) const { 556 556 LinkIDs ids; 557 for ( int i=0; i<linkSet.size(); i++){557 for (size_t i=0; i<linkSet.size(); i++){ 558 558 if( addr == NULL ){ 559 559 ids.push_back( linkSet[i]->localLink );
Note:
See TracChangeset
for help on using the changeset viewer.