Changeset 546 for trunk


Ignore:
Timestamp:
02/10/11 16:00:55 (16 months ago)
Author:
acbernst
Message:

fixed type for push and pop. size_t != unsigned int on 64bit. (and always != int)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/avango-core/include/avango/MultiField.h

    r261 r546  
    417417    } 
    418418 
    419     av_pushMsg(msg, mValue.size()); 
     419    av_pushMsg(msg, static_cast<uint32_t>(mValue.size())); 
    420420  } 
    421421 
     
    423423  MultiField<Value>::pop(Msg& msg) 
    424424  { 
    425     int count; 
     425    uint32_t count; 
    426426 
    427427    av_popMsg(msg, count); 
     
    433433    Value val; 
    434434 
    435     for (int i = count; i > 0; --i) 
     435    for (uint32_t i = count; i > 0; --i) 
    436436    { 
    437437      av_popMsg(msg, val); 
Note: See TracChangeset for help on using the changeset viewer.