Fix return type of alignof() fallback

This commit is contained in:
Behdad Esfahbod 2018-07-11 17:00:13 +02:00
parent 58cb4d9f73
commit 20a318d06a
1 changed files with 1 additions and 1 deletions

View File

@ -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