From 9714e114b88893bd962b1bcf36382bdacbc4866c Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 16 Nov 2018 16:52:42 -0800 Subject: [PATCH] Fix recent commits --- src/hb-open-type.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-open-type.hh b/src/hb-open-type.hh index c77c25fa0..b1fcd6877 100644 --- a/src/hb-open-type.hh +++ b/src/hb-open-type.hh @@ -347,7 +347,7 @@ struct UnsizedArrayOf } inline Type& operator [] (unsigned int i) { - const Type *p = &arrayZ[i]; + Type *p = &arrayZ[i]; if (unlikely (p < arrayZ)) return Crap (Type); /* Overflowed. */ return *p; }