<div dir="ltr"><div>Hello,</div><div><br></div><div>Compiling pixman-0.34.0 with clang prints this warning:</div><div><br></div><div><br>pixman/pixman-implementation.c:124:38: warning: comparison of constant 64 with expression of type 'const pixman_op_t' is always false [-Wtautological-constant-out-of-range-compare]<br>            if ((info->op == op || info->op == PIXMAN_OP_any)           &&<br></div><div>                                   ~~~~~~~~ ^  ~~~~~~~~~~~~~<br></div><div><br></div><div>and also this (less important?) one:</div><div><br></div><div>pixman/pixman-fast-path.c:2614:32: warning: shifting a negative signed value is undefined [-Wshift-negative-value]<br>    while (buffer < end && x < pixman_fixed_minus_1)<br>                               ^~~~~~~~~~~~~~~~~~~~<br>pixman/pixman.h:128:32: note: expanded from macro 'pixman_fixed_minus_1'<br>#define pixman_fixed_minus_1            (pixman_int_to_fixed(-1))<br>                                         ^~~~~~~~~~~~~~~~~~~~~~~<br>pixman/pixman.h:130:56: note: expanded from macro 'pixman_int_to_fixed'<br>#define pixman_int_to_fixed(i)          ((pixman_fixed_t) ((i) << 16))<br>                                                           ~~~ ^</div><div><br></div><div>Cheers,</div><div><br></div><div><div class="gmail_signature">Sylvain<br></div>
</div></div>