提交 5ccf1ba3 编写于 作者: B Behdad Esfahbod

[HB] Fixed signedness warnings

上级 f7132914
......@@ -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) && \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册