[graph] Fix warning
Fixes https://github.com/harfbuzz/harfbuzz/issues/3766
This commit is contained in:
parent
fc9e6ae8d9
commit
a0111e4fab
|
@ -213,8 +213,7 @@ struct PairPosFormat1 : public OT::Layout::GPOS_impl::PairPosFormat1_3<SmallType
|
|||
unsigned max_size) const
|
||||
{
|
||||
char* buffer = (char*) hb_calloc (1, max_size);
|
||||
hb_serialize_context_t serializer = hb_serialize_context_t (buffer,
|
||||
max_size);
|
||||
hb_serialize_context_t serializer (buffer, max_size);
|
||||
Coverage_serialize (&serializer, glyphs);
|
||||
serializer.end_serialize ();
|
||||
if (serializer.in_error ())
|
||||
|
|
Loading…
Reference in New Issue