commit | 4f10559ba827755d7dd9bbf6b0a695fcebd928d2 | [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 | a2b1d3c5778625da5f662658fbb8dc4990760482 | |
parent | 30d60cb36e213714321b22926b24b6a4caebb819 [diff] [blame] |
silence a warning. llvm-svn: 85931
diff --git a/clang/lib/AST/ExprConstant.cpp b/clang/lib/AST/ExprConstant.cpp index 804684c..c70d05e 100644 --- a/clang/lib/AST/ExprConstant.cpp +++ b/clang/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); }