Changeset 6919 for source/ariba/utility/messages/Message.h
- Timestamp:
- Nov 13, 2009, 1:41:34 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/utility/messages/Message.h
r6786 r6919 106 106 */ 107 107 explicit inline Message( const Data& data ) : 108 srcAddr(NULL),destAddr(NULL), releasePayload(true) {108 releasePayload(true), srcAddr(NULL),destAddr(NULL) { 109 109 this->payload = data.clone(); 110 110 // this->root = shared_array<uint8_t>((uint8_t*)data.getBuffer()); … … 246 246 } else { 247 247 if (msg->payload.isUnspecified()) { 248 size_t l = ((len == ~ 0) ? X.getRemainingLength() : len);248 size_t l = ((len == ~(size_t)0) ? X.getRemainingLength() : len); 249 249 msg->payload = X.getRemainingData(l); 250 250 msg->releasePayload = false;
Note:
See TracChangeset
for help on using the changeset viewer.