Fix return type of alignof() fallback
This commit is contained in:
parent
58cb4d9f73
commit
20a318d06a
|
@ -95,7 +95,7 @@ struct _hb_alignof
|
||||||
char c;
|
char c;
|
||||||
T t;
|
T t;
|
||||||
};
|
};
|
||||||
static constexpr unsigned int value = offsetof (s, t);
|
static constexpr size_t value = offsetof (s, t);
|
||||||
};
|
};
|
||||||
|
|
||||||
#if __cplusplus < 201103L
|
#if __cplusplus < 201103L
|
||||||
|
|
Loading…
Reference in New Issue