Skip to content

Commit

Permalink
Silenced warning: comparison of integers of different signs ('const i…
Browse files Browse the repository at this point in the history
…nt' and 'const unsigned long long')
  • Loading branch information
andreamattavelli committed Feb 16, 2017
1 parent b2f93ff commit 8313dcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unittests/Expr/ExprTest.cpp
Expand Up @@ -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) {
Expand All @@ -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) {
Expand Down

0 comments on commit 8313dcb

Please sign in to comment.