[HB] Add FixedVersion cast to int

This commit is contained in:
Behdad Esfahbod 2009-05-24 12:30:40 -04:00
parent 957740dd25
commit 96908b8984
1 changed files with 2 additions and 0 deletions

View File

@ -293,6 +293,8 @@ ASSERT_SIZE (CheckSum, 4);
struct FixedVersion
{
inline operator uint32_t(void) const { return major << 16 + minor; }
SHORT major;
USHORT minor;
};