about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
-rw-r--r--unittests/Expr/ExprTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/unittests/Expr/ExprTest.cpp b/unittests/Expr/ExprTest.cpp
index b1f593a5..fba15535 100644
--- a/unittests/Expr/ExprTest.cpp
+++ b/unittests/Expr/ExprTest.cpp
@@ -182,7 +182,7 @@ TEST(ExprTest, ReadExprFoldingConstantUpdate) {
   // Check that constant folding worked
   EXPECT_EQ(Expr::Constant, read.get()->getKind());
   ConstantExpr *c = static_cast<ConstantExpr *>(read.get());
-  EXPECT_EQ(32, c->getZExtValue());
+  EXPECT_EQ(UINT64_C(32), c->getZExtValue());
 }
 
 TEST(ExprTest, ReadExprFoldingConstantMultipleUpdate) {
@@ -209,7 +209,7 @@ TEST(ExprTest, ReadExprFoldingConstantMultipleUpdate) {
   // Check that constant folding worked
   EXPECT_EQ(Expr::Constant, read.get()->getKind());
   ConstantExpr *c = static_cast<ConstantExpr *>(read.get());
-  EXPECT_EQ(64, c->getZExtValue());
+  EXPECT_EQ(UINT64_C(64), c->getZExtValue());
 }
 
 TEST(ExprTest, ReadExprFoldingSymbolicValueUpdate) {