Changeset 1143
- Timestamp:
- 05/09/08 02:14:05 (15 years ago)
- Files:
-
- trunk/libffado/src/DeviceStringParser.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libffado/src/DeviceStringParser.cpp
r942 r1143 60 60 m_Type = eBusNode; 61 61 std::string detail = s.substr(3); 62 s ize_tcomma_pos = detail.find_first_of(",");62 string::size_type comma_pos = detail.find_first_of(","); 63 63 if(comma_pos == std::string::npos) { 64 64 // node is unspecified … … 122 122 if(s.compare(0,3,"hw:")==0) { 123 123 std::string detail = s.substr(3); 124 s ize_tcomma_pos = detail.find_first_of(",");124 string::size_type comma_pos = detail.find_first_of(","); 125 125 if(comma_pos == std::string::npos) { 126 126 std::string port = detail; … … 246 246 debugOutput(DEBUG_LEVEL_VERBOSE, "parse: %s\n", s.c_str()); 247 247 248 s ize_tnext_sep;248 string::size_type next_sep; 249 249 std::string tmp = s; 250 250 do {