[repacker] fix compiler alignment warning.

pull/3787/head
Garret Rieger 2 years ago
parent 683c5dd21e
commit 015ca5bc3c
  1. 2
      src/test-repacker.cc

@ -349,7 +349,7 @@ struct MarkBasePosBuffers
{ {
for (unsigned i = 0; i < sizeof(anchor_buffers) / 2; i++) 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; *value = i;
} }

Loading…
Cancel
Save