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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/utility/types/Identifier.cpp

    r4437 r6919  
    7070
    7171void Identifier::clearAddress() {
    72         for (int i = 0; i < array_size; i++)
     72        for (size_t i = 0; i < array_size; i++)
    7373                key[i] = 0;
    7474        isUnspec = false;
     
    7777
    7878bool Identifier::setAddress(string address) {
    79         // TODO
     79        return false;
    8080}
    8181
     
    204204        if (isUnspec) return std::string("<unspec>");
    205205
    206         char temp[80];
     206        char temp[250];
    207207        if (base == 16) {
    208208                int k = 0;
     
    238238}
    239239#endif
     240        return "<not supported>";
    240241}
    241242
Note: See TracChangeset for help on using the changeset viewer.