diff --git a/src/hb-open-type-private.hh b/src/hb-open-type-private.hh index 3273b8611..d81116d1a 100644 --- a/src/hb-open-type-private.hh +++ b/src/hb-open-type-private.hh @@ -40,6 +40,7 @@ * Casts */ +/* Cast to const char *, to char *, or to char * dropping const-ness */ template inline const char * ConstCharP (const Type X) { return reinterpret_cast(X); } template inline char * CharP (Type X) { return reinterpret_cast(X); } template inline char * DeConstCharP (const Type X) { return (char *) reinterpret_cast(X); }