https://bugs.kde.org/show_bug.cgi?id=503817
Bug ID: 503817 Summary: 'ordered comparison of pointer with integer zero' compiler warnings in test code Classification: Developer tools Product: valgrind Version: 3.25 GIT Platform: Arch Linux OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: jsew...@acm.org Reporter: cmb...@sent.com Target Milestone: --- SUMMARY GCC reports tskip_digitshe following warnings in none/tests/s390x/disasm-test/opcode.c: opcode.c: In function ‘parse_int’: opcode.c:1411:27: warning: ordered comparison of pointer with integer zero [-Wextra] 1411 | if (is_unsigned && val < 0) { | ^ opcode.c:1415:27: warning: ordered comparison of pointer with integer zero [-Wextra] 1415 | return skip_digits(val < 0 ? p + 1 : p); | ^ Looking at the code, it does seem like *val should be used instead. SOFTWARE/OS VERSIONS Commit 64beb80 compiled on Arch Linux -- You are receiving this mail because: You are watching all bug changes.