summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2018-11-16 16:52:42 -0800
committerBehdad Esfahbod <behdad@behdad.org>2018-11-16 16:52:42 -0800
commit9714e114b88893bd962b1bcf36382bdacbc4866c (patch)
treec5fbdf9c792336f5dbdf2523ac4e8985884f7b83
parent0328a1ce41611ed981d41384ae5727479699f3a0 (diff)
Fix recent commits
-rw-r--r--src/hb-open-type.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hb-open-type.hh b/src/hb-open-type.hh
index c77c25fa..b1fcd687 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;
}