[llvm-commits] [126211] Fix the -Werror build.
clattner at apple.com
clattner at apple.com
Mon Apr 16 13:07:19 PDT 2007
Revision: 126211
Author: clattner
Date: 2007-04-16 13:07:18 -0700 (Mon, 16 Apr 2007)
Log Message:
-----------
Fix the -Werror build.
Modified Paths:
--------------
apple-local/branches/llvm/gcc/llvm-convert.cpp
Modified: apple-local/branches/llvm/gcc/llvm-convert.cpp
===================================================================
--- apple-local/branches/llvm/gcc/llvm-convert.cpp 2007-04-16 20:01:41 UTC (rev 126210)
+++ apple-local/branches/llvm/gcc/llvm-convert.cpp 2007-04-16 20:07:18 UTC (rev 126211)
@@ -3244,7 +3244,7 @@
const Type *Ty = ConvertType(TREE_TYPE(exp));
Constant *Zero = ConstantInt::get(Ty, 0);
Constant *One = ConstantInt::get(Ty, 1);
- Constant *MinusOne = ConstantInt::get(Ty, -1);
+ Constant *MinusOne = ConstantInt::get(Ty, -1U);
Value *LHS = Emit(TREE_OPERAND(exp, 0), 0);
Value *RHS = Emit(TREE_OPERAND(exp, 1), 0);
More information about the llvm-commits
mailing list