Changeset 6919 for source/ariba/Name.cpp
- Timestamp:
- Nov 13, 2009, 1:41:34 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/Name.cpp
r2481 r6919 108 108 Name& Name::operator=( const Name& name ) { 109 109 init((const char*)name.bytes(), name.length(), true, name._hreadable); 110 return *this; 110 111 } 111 112 … … 153 154 if (_hreadable) { 154 155 char str[256]; 155 for ( int i=0; i<length(); i++) str[i] = bytes()[i];156 for (size_t i=0; i<length(); i++) str[i] = bytes()[i]; 156 157 str[length()] = 0; 157 158 return string(str);
Note:
See TracChangeset
for help on using the changeset viewer.