diff --git a/src/hb-private.hh b/src/hb-private.hh index ff339df4d..ae7338724 100644 --- a/src/hb-private.hh +++ b/src/hb-private.hh @@ -95,7 +95,7 @@ struct _hb_alignof char c; T t; }; - static constexpr unsigned int value = offsetof (s, t); + static constexpr size_t value = offsetof (s, t); }; #if __cplusplus < 201103L