Changeset 861

Show
Ignore:
Timestamp:
08/22/08 12:02:32 (3 months ago)
Author:
mloskot
Message:

Fixed signed/unsigned conversion in lasrecordheader.cpp.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/lasrecordheader.cpp

    r816 r861  
    215215    // Description 32 bytes 
    216216    // Data length -- size of the data's vector * the size of uint8_t 
    217     uint32_t size = 2 + 16 + 2 + 2 + 32 + GetData().size() * sizeof(uint8_t); 
    218     return size; 
    219  
     217    std::size_t const sum = 2 + 16 + 2 + 2 + 32 + GetData().size() * sizeof(uint8_t); 
     218    return static_cast<uint32_t>(sum); 
    220219} 
    221220