Ignore:
Timestamp:
Nov 13, 2009, 1:41:34 PM (14 years ago)
Author:
mies
Message:

Fixed tons of warnings when using CXXFLAGS="-Wall"!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/communication/BaseCommunication.cpp

    r6828 r6919  
    539539/// query a descriptor by local link id
    540540BaseCommunication::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++)
    542542                if (linkSet[i]->localLink == link) return (LinkDescriptor&)*linkSet[i];
    543543
     
    547547/// query a descriptor by remote link id
    548548BaseCommunication::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++)
    550550                if (linkSet[i]->remoteLink == link) return (LinkDescriptor&)*linkSet[i];
    551551
     
    555555LinkIDs BaseCommunication::getLocalLinks( const address_v* addr ) const {
    556556        LinkIDs ids;
    557         for (int i=0; i<linkSet.size(); i++){
     557        for (size_t i=0; i<linkSet.size(); i++){
    558558                if( addr == NULL ){
    559559                        ids.push_back( linkSet[i]->localLink );
Note: See TracChangeset for help on using the changeset viewer.