[hb-ft] Adjust serial signature

This commit is contained in:
Behdad Esfahbod 2022-05-23 19:02:27 -06:00
parent 56e0ff9ea1
commit 80c49933c6
1 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ struct hb_ft_font_t
mutable hb_mutex_t lock;
FT_Face ft_face;
mutable unsigned long cached_serial;
mutable unsigned cached_serial;
mutable hb_advance_cache_t advance_cache;
};
@ -103,7 +103,7 @@ _hb_ft_font_create (FT_Face ft_face, bool symbol, bool unref)
ft_font->load_flags = FT_LOAD_DEFAULT | FT_LOAD_NO_HINTING;
ft_font->cached_serial = (unsigned long) -1;
ft_font->cached_serial = (unsigned) -1;
ft_font->advance_cache.init ();
return ft_font;