mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-14 17:13:40 +00:00
[subset] Fix cast-align issue
Fixes https://github.com/harfbuzz/harfbuzz/issues/4316
This commit is contained in:
parent
fc24ffbfb3
commit
db3aeeb547
2 changed files with 2 additions and 2 deletions
|
@ -266,7 +266,7 @@ struct hb_serialize_context_t
|
|||
propagate_error (std::forward<Ts> (os)...); }
|
||||
|
||||
/* To be called around main operation. */
|
||||
template <typename Type>
|
||||
template <typename Type=char>
|
||||
__attribute__((returns_nonnull))
|
||||
Type *start_serialize ()
|
||||
{
|
||||
|
|
|
@ -273,7 +273,7 @@ _try_subset (const TableType *table,
|
|||
hb_vector_t<char>* buf,
|
||||
hb_subset_context_t* c /* OUT */)
|
||||
{
|
||||
c->serializer->start_serialize<TableType> ();
|
||||
c->serializer->start_serialize ();
|
||||
if (c->serializer->in_error ()) return false;
|
||||
|
||||
bool needed = table->subset (c);
|
||||
|
|
Loading…
Add table
Reference in a new issue