https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116434
Bug ID: 116434 Summary: Problem with warming Wsign-compare Product: gcc Version: 11.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: lukaszcz18 at wp dot pl Target Milestone: --- I would like to ask what is written wrong here. pixman-combine32.c: In function 'combine_mask_ca': pixman-combine32.c:51:11: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 51 | if (a == ~0) | ^~ Should it be? 51 | if (a == ~0x0)