[HB] Fixed signedness warnings
This commit is contained in:
parent
f71329147b
commit
5ccf1ba339
|
@ -210,8 +210,8 @@ _hb_sanitize_edit (hb_sanitize_context_t *context,
|
||||||
/* TODO Optimize this if L is fixed (gcc magic) */
|
/* TODO Optimize this if L is fixed (gcc magic) */
|
||||||
#define SANITIZE_MEM(B,L) \
|
#define SANITIZE_MEM(B,L) \
|
||||||
HB_LIKELY (context->start <= CONST_CHARP(B) && \
|
HB_LIKELY (context->start <= CONST_CHARP(B) && \
|
||||||
CONST_CHARP(B) < context->end && \
|
CONST_CHARP(B) <= context->end && \
|
||||||
context->end - CONST_CHARP(B) >= (L))
|
(unsigned int) (context->end - CONST_CHARP(B)) >= (unsigned int) (L))
|
||||||
|
|
||||||
#define NEUTER(Var, Val) \
|
#define NEUTER(Var, Val) \
|
||||||
(SANITIZE_OBJ (Var) && \
|
(SANITIZE_OBJ (Var) && \
|
||||||
|
|
Loading…
Reference in New Issue