commit | cf184655319cf7a5b811067cff9d26a5741fd161 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Nov 03 19:48:51 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Nov 03 19:48:51 2009 +0000 |
tree | 0f6deb9d3268a800036fa4fe8181ca697ae3d3a3 | |
parent | 2d1c21414199a7452f122598189363a3922605b1 [diff] [blame] |
silence a warning. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85931 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/AST/ExprConstant.cpp b/lib/AST/ExprConstant.cpp index 804684c..c70d05e 100644 --- a/lib/AST/ExprConstant.cpp +++ b/lib/AST/ExprConstant.cpp
@@ -966,7 +966,7 @@ if (HasSideEffects(E->getArg(0), Info.Ctx)) { if (E->getArg(1)->EvaluateAsInt(Info.Ctx).getZExtValue() < 2) - return Success(-1, E); + return Success(-1ULL, E); return Success(0, E); }