[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:
Roland McGrath 2021-08-27 14:11:31 -07:00
parent 4e1a164d7b
commit 225eb8a22d
1 changed files with 1 additions and 1 deletions

View File

@ -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 {