aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--unittests/ADT/TwineTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/ADT/TwineTest.cpp b/unittests/ADT/TwineTest.cpp
index dae5fa0..2f87476 100644
--- a/unittests/ADT/TwineTest.cpp
+++ b/unittests/ADT/TwineTest.cpp
@@ -36,7 +36,7 @@ TEST(TwineTest, Numbers) {
EXPECT_EQ("123", Twine::utostr(123).str());
EXPECT_EQ("-123", Twine::itostr(-123).str());
EXPECT_EQ("123", Twine::utostr((char) 123).str());
- EXPECT_EQ("-123", Twine::itostr((char) -123).str());
+ EXPECT_EQ("-123", Twine::itostr((signed char) -123).str());
EXPECT_EQ("7B", Twine::utohexstr(123).str());
EXPECT_EQ("FFFFFFFFFFFFFF85", Twine::itohexstr(-123).str());