| Index: third_party/harfbuzz-ng/src/hb-open-type-private.hh
|
| diff --git a/third_party/harfbuzz-ng/src/hb-open-type-private.hh b/third_party/harfbuzz-ng/src/hb-open-type-private.hh
|
| index 6a5200087f3d8f8ab5c5cc1989037b9d99567e0a..482ef3469d6f99d31930562985a5f0e2df52990a 100644
|
| --- a/third_party/harfbuzz-ng/src/hb-open-type-private.hh
|
| +++ b/third_party/harfbuzz-ng/src/hb-open-type-private.hh
|
| @@ -742,7 +742,7 @@ struct CheckSum : ULONG
|
| template <typename FixedType=USHORT>
|
| struct FixedVersion
|
| {
|
| - inline uint32_t to_int (void) const { return (major << sizeof(FixedType)) + minor; }
|
| + inline uint32_t to_int (void) const { return (major << (sizeof(FixedType) * 8)) + minor; }
|
|
|
| inline bool sanitize (hb_sanitize_context_t *c) const
|
| {
|
|
|