mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-24 08:21:32 +01:00
Fix sign-compare error on 32-bit systems
This commit is contained in:
1 parent
f2d20dd9d3
commit
c69f02784a
1 file changed
+1
-1
+1
-1
@@ -182,7 +182,7 @@ struct Offset : Type
|
||||
void *serialize (hb_serialize_context_t *c, const void *base)
|
||||
{
|
||||
void *t = c->start_embed<void> ();
|
||||
c->check_assign (*this, (char *) t - (char *) base);
|
||||
c->check_assign (*this, (unsigned) ((char *) t - (char *) base));
|
||||
return t;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user