diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2009-08-12 15:55:23 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2009-08-12 15:55:23 -0400 |
commit | 996eab4e5f35432692fc76939a2f586a1298c1da (patch) | |
tree | 145ff2b625364ca44b8e29785bbf6ad24f9ec6b0 | |
parent | 4d5bd658c7b78392d24ad4cc82d800b6d0fc8434 (diff) | |
download | pango-996eab4e5f35432692fc76939a2f586a1298c1da.tar.gz |
[HB] Fixed signedness warnings
-rw-r--r-- | pango/opentype/hb-open-type-private.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/opentype/hb-open-type-private.hh b/pango/opentype/hb-open-type-private.hh index 82e457b1..23bab7b4 100644 --- a/pango/opentype/hb-open-type-private.hh +++ b/pango/opentype/hb-open-type-private.hh @@ -210,8 +210,8 @@ _hb_sanitize_edit (hb_sanitize_context_t *context, /* TODO Optimize this if L is fixed (gcc magic) */ #define SANITIZE_MEM(B,L) \ HB_LIKELY (context->start <= CONST_CHARP(B) && \ - CONST_CHARP(B) < context->end && \ - context->end - CONST_CHARP(B) >= (L)) + CONST_CHARP(B) <= context->end && \ + (unsigned int) (context->end - CONST_CHARP(B)) >= (unsigned int) (L)) #define NEUTER(Var, Val) \ (SANITIZE_OBJ (Var) && \ |