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 95ea00c commit 105e25aCopy full SHA for 105e25a
libc/test/UnitTest/MemoryMatcher.h
@@ -49,7 +49,7 @@ class MemoryMatcher : public Matcher<MemoryView> {
49
MemoryView expected;
50
MemoryView actual;
51
bool mismatch_size = false;
52
- size_t mismatch_index = -1;
+ size_t mismatch_index = cpp::numeric_limits<size_t>::max();
53
54
public:
55
MemoryMatcher(MemoryView expectedValue) : expected(expectedValue) {}
0 commit comments