diff --git a/src/hb-ot-layout-open-private.h b/src/hb-ot-layout-open-private.h index 0955c6fe15fef841ac46d1e08344b519d2398017..91aacfcf5b5e573c4fe3b4ec8699082aab825a0b 100644 --- a/src/hb-ot-layout-open-private.h +++ b/src/hb-ot-layout-open-private.h @@ -293,6 +293,8 @@ ASSERT_SIZE (CheckSum, 4); struct FixedVersion { + inline operator uint32_t(void) const { return major << 16 + minor; } + SHORT major; USHORT minor; };