summaryrefslogtreecommitdiffstats
path: root/lldb/unittests/Utility/ScalarTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/unittests/Utility/ScalarTest.cpp')
-rw-r--r--lldb/unittests/Utility/ScalarTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/unittests/Utility/ScalarTest.cpp b/lldb/unittests/Utility/ScalarTest.cpp
index d4a08496a37..54012d8d059 100644
--- a/lldb/unittests/Utility/ScalarTest.cpp
+++ b/lldb/unittests/Utility/ScalarTest.cpp
@@ -272,7 +272,7 @@ TEST(ScalarTest, APIntConstructor) {
}
Scalar B(APInt(64, 42));
- EXPECT_EQ(B.GetType(), Scalar::e_slonglong);
+ EXPECT_EQ(B.GetType(), Scalar::GetBestTypeForBitSize(64, true));
Scalar C(APInt(128, 96));
EXPECT_EQ(C.GetType(), Scalar::e_sint128);
Scalar D(APInt(256, 156));
OpenPOWER on IntegriCloud