Changeset 6919 for source/ariba/Name.cpp


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/Name.cpp

    r2481 r6919  
    108108Name& Name::operator=( const Name& name ) {
    109109        init((const char*)name.bytes(), name.length(), true, name._hreadable);
     110        return *this;
    110111}
    111112
     
    153154        if (_hreadable) {
    154155                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];
    156157                str[length()] = 0;
    157158                return string(str);
Note: See TracChangeset for help on using the changeset viewer.