[HarfBuzz] harfbuzz: Branch 'master'
Behdad Esfahbod
behdad at kemper.freedesktop.org
Mon Feb 25 20:58:16 PST 2013
src/hb-open-type-private.hh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 05d5d3cd63ba2fadfdb62190dd24ef80ee3df40c
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Mon Feb 25 23:57:51 2013 -0500
Fix "comparison between signed and unsigned" warnings
Patch from Jonathan Kew.
diff --git a/src/hb-open-type-private.hh b/src/hb-open-type-private.hh
index b337ab7..cec7bd6 100644
--- a/src/hb-open-type-private.hh
+++ b/src/hb-open-type-private.hh
@@ -411,7 +411,7 @@ struct hb_serialize_context_t
template <typename Type>
inline Type *allocate_size (unsigned int size)
{
- if (unlikely (this->ran_out_of_room || this->end - this->head < size)) {
+ if (unlikely (this->ran_out_of_room || this->end - this->head < ptrdiff_t (size))) {
this->ran_out_of_room = true;
return NULL;
}
More information about the HarfBuzz
mailing list