From 85574ec28735c1e9d53ccff9abafbbc25cf34f0f Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 10 Dec 2019 12:52:32 -0600 Subject: [PATCH] [machinery] Minor --- src/hb-machinery.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-machinery.hh b/src/hb-machinery.hh index e33cd6432..4730922aa 100644 --- a/src/hb-machinery.hh +++ b/src/hb-machinery.hh @@ -70,7 +70,7 @@ static inline const Type& StructAtOffsetUnaligned(const void *P, unsigned int of { #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wcast-align" - return * reinterpret_cast ((char *) P + offset); + return * reinterpret_cast ((const char *) P + offset); #pragma GCC diagnostic pop } template