diff --git a/src/hb-blob.hh b/src/hb-blob.hh index 802b1f07e..4f9d8f040 100644 --- a/src/hb-blob.hh +++ b/src/hb-blob.hh @@ -60,7 +60,7 @@ struct hb_blob_t template inline const Type* as (void) const { - return length < Type::min_size ? &Null(Type) : reinterpret_cast (data); + return length < hb_null_size::value ? &Null(Type) : reinterpret_cast (data); } inline hb_bytes_t as_bytes (void) const {