mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 14:31:10 +01:00
[array] Fix build
This commit is contained in:
1 parent
072299a25c
commit
f632633900
1 file changed
+1
-1
+1
-1
@@ -295,7 +295,7 @@ struct hb_array_t : hb_iter_with_fallback_t<hb_array_t<Type>, Type&>
|
||||
hb_enable_if (P == 1)>
|
||||
bool check_end (const void *p) const
|
||||
{
|
||||
return ((const char *) p) - arrayZ <= length;
|
||||
return (uintptr_t) (((const char *) p) - arrayZ) <= length;
|
||||
}
|
||||
|
||||
/* Only call if you allocated the underlying array using hb_malloc() or similar. */
|
||||
|
||||
Reference in new issue
Block a user