[HB] Add FixedVersion cast to int
This commit is contained in:
parent
957740dd25
commit
96908b8984
|
@ -293,6 +293,8 @@ ASSERT_SIZE (CheckSum, 4);
|
|||
|
||||
struct FixedVersion
|
||||
{
|
||||
inline operator uint32_t(void) const { return major << 16 + minor; }
|
||||
|
||||
SHORT major;
|
||||
USHORT minor;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue