commit | 20a318d06acaabdee0090339dfa621aab46f1441 | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Wed Jul 11 17:00:13 2018 +0200 |
committer | Behdad Esfahbod <behdad@behdad.org> | Wed Jul 11 17:00:13 2018 +0200 |
tree | d54590d81220e549a60f13e23fc7f3edcb1710b7 | |
parent | 58cb4d9f73f1292454e3673d5e7ae5a58a566522 [diff] |
Fix return type of alignof() fallback
diff --git a/src/hb-private.hh b/src/hb-private.hh index ff339df..ae73387 100644 --- a/src/hb-private.hh +++ b/src/hb-private.hh
@@ -95,7 +95,7 @@ char c; T t; }; - static constexpr unsigned int value = offsetof (s, t); + static constexpr size_t value = offsetof (s, t); }; #if __cplusplus < 201103L