[repacker] fix compiler alignment warning.

This commit is contained in:
Garret Rieger 2022-08-18 21:52:55 +00:00
parent 683c5dd21e
commit 015ca5bc3c
1 changed files with 1 additions and 1 deletions

View File

@ -349,7 +349,7 @@ struct MarkBasePosBuffers
{
for (unsigned i = 0; i < sizeof(anchor_buffers) / 2; i++)
{
uint16_t* value = (uint16_t*) (&anchor_buffers[2*i]);
OT::HBUINT16* value = (OT::HBUINT16*) (&anchor_buffers[2*i]);
*value = i;
}