[cfe-commits] r85931 - /cfe/trunk/lib/AST/ExprConstant.cpp

Chris Lattner sabre at nondot.org
Tue Nov 3 11:48:52 PST 2009


Author: lattner
Date: Tue Nov  3 13:48:51 2009
New Revision: 85931

URL: http://llvm.org/viewvc/llvm-project?rev=85931&view=rev
Log:
silence a warning.

Modified:
    cfe/trunk/lib/AST/ExprConstant.cpp

Modified: cfe/trunk/lib/AST/ExprConstant.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ExprConstant.cpp?rev=85931&r1=85930&r2=85931&view=diff

==============================================================================
--- cfe/trunk/lib/AST/ExprConstant.cpp (original)
+++ cfe/trunk/lib/AST/ExprConstant.cpp Tue Nov  3 13:48:51 2009
@@ -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);
     }
 





More information about the cfe-commits mailing list