From 015ca5bc3ce387c46c4e2f0c70e636d8c6ba76ab Mon Sep 17 00:00:00 2001 From: Garret Rieger Date: Thu, 18 Aug 2022 21:52:55 +0000 Subject: [PATCH] [repacker] fix compiler alignment warning. --- src/test-repacker.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test-repacker.cc b/src/test-repacker.cc index de221be5c..cd8789f1b 100644 --- a/src/test-repacker.cc +++ b/src/test-repacker.cc @@ -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; }