service/cro: specify endianness for enum

This commit is contained in:
Weiyi Wang 2018-09-21 20:21:49 -04:00
parent 18e94897c4
commit 16b36b6025

View File

@ -236,7 +236,7 @@ private:
struct SegmentEntry {
u32_le offset;
u32_le size;
SegmentType type;
enum_le<SegmentType> type;
static constexpr HeaderField TABLE_OFFSET_FIELD = SegmentTableOffset;
};