We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 440900b commit 024379fCopy full SHA for 024379f
code/tests/cases/test_elf.cpp
@@ -95,10 +95,10 @@ FOSSIL_TEST_CASE(cpp_test_elf_find_section_by_name_builtin_blob) {
95
ASSUME_ITS_TRUE(ok);
96
97
size_t idx = elf.find_section(".text");
98
- ASSUME_ITS_TRUE(idx >= 0);
+ ASSUME_ITS_TRUE(idx != SIZE_MAX);
99
100
idx = elf.find_section(".shstrtab");
101
102
}
103
104
FOSSIL_TEST_CASE(cpp_test_elf_strerror_known_and_unknown) {
0 commit comments