Show
Ignore:
Timestamp:
08/18/08 17:37:02 (5 months ago)
Author:
hobu
Message:

Use uint16_t for VLR record lengths as defined in the specification rather than uint32_t

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/lasheader.cpp

    r816 r837  
    762762 
    763763        // Shorts are 2 bytes in length 
    764         uint32_t length = 2*kcount; 
     764        uint16_t length = 2*kcount; 
    765765 
    766766        record.SetRecordLength(length); 
     
    830830 
    831831        // Doubles are 8 bytes in length 
    832         uint32_t length = 8*dcount; 
     832        uint16_t length = 8*dcount; 
    833833        record.SetRecordLength(length); 
    834834