Changeset 1143

Show
Ignore:
Timestamp:
05/09/08 02:14:05 (15 years ago)
Author:
holin
Message:

use consistent types

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/src/DeviceStringParser.cpp

    r942 r1143  
    6060        m_Type = eBusNode; 
    6161        std::string detail = s.substr(3); 
    62         size_t comma_pos = detail.find_first_of(","); 
     62        string::size_type comma_pos = detail.find_first_of(","); 
    6363        if(comma_pos == std::string::npos) { 
    6464            // node is unspecified 
     
    122122    if(s.compare(0,3,"hw:")==0) { 
    123123        std::string detail = s.substr(3); 
    124         size_t comma_pos = detail.find_first_of(","); 
     124        string::size_type comma_pos = detail.find_first_of(","); 
    125125        if(comma_pos == std::string::npos) { 
    126126            std::string port = detail; 
     
    246246    debugOutput(DEBUG_LEVEL_VERBOSE, "parse: %s\n", s.c_str()); 
    247247 
    248     size_t next_sep; 
     248    string::size_type next_sep; 
    249249    std::string tmp = s; 
    250250    do {