forked from OSchip/llvm-project
[libc][NFC] Fix onre more -Wconversion warning in strtoul test code.
The last change missed one spot. Differential Revision: https://reviews.llvm.org/D108845
This commit is contained in:
parent
4e1a164d7b
commit
225eb8a22d
|
@ -227,7 +227,7 @@ TEST(LlvmLibcStrToULTest, DecodeInOtherBases) {
|
|||
} else {
|
||||
errno = 0;
|
||||
ASSERT_EQ(__llvm_libc::strtoul(small_string, nullptr, base),
|
||||
first_digit);
|
||||
static_cast<unsigned long int>(first_digit));
|
||||
ASSERT_EQ(errno, 0);
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue