Changeset 6919 for source/ariba/utility/types
- Timestamp:
- Nov 13, 2009, 1:41:34 PM (15 years ago)
- Location:
- source/ariba/utility/types
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/utility/types/Identifier.cpp
r4437 r6919 70 70 71 71 void Identifier::clearAddress() { 72 for ( int i = 0; i < array_size; i++)72 for (size_t i = 0; i < array_size; i++) 73 73 key[i] = 0; 74 74 isUnspec = false; … … 77 77 78 78 bool Identifier::setAddress(string address) { 79 // TODO79 return false; 80 80 } 81 81 … … 204 204 if (isUnspec) return std::string("<unspec>"); 205 205 206 char temp[ 80];206 char temp[250]; 207 207 if (base == 16) { 208 208 int k = 0; … … 238 238 } 239 239 #endif 240 return "<not supported>"; 240 241 } 241 242 -
source/ariba/utility/types/ServiceID.h
r3690 r6919 75 75 76 76 inline bool isUnspecified() const { 77 return (id==~ 0);77 return (id==~(uint32_t)0); 78 78 } 79 79
Note:
See TracChangeset
for help on using the changeset viewer.