[llvm-commits] [llvm] r50947 - /llvm/trunk/include/llvm/Instructions.h
Bill Wendling
isanbard at gmail.com
Sat May 10 04:26:55 PDT 2008
Author: void
Date: Sat May 10 06:26:52 2008
New Revision: 50947
URL: http://llvm.org/viewvc/llvm-project?rev=50947&view=rev
Log:
Prevent -W64-to-32-shortened warnings.
Modified:
llvm/trunk/include/llvm/Instructions.h
Modified: llvm/trunk/include/llvm/Instructions.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Instructions.h?rev=50947&r1=50946&r2=50947&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Instructions.h (original)
+++ llvm/trunk/include/llvm/Instructions.h Sat May 10 06:26:52 2008
@@ -1087,7 +1087,7 @@
->getElementType())->getReturnType(),
Instruction::Call,
OperandTraits<CallInst>::op_end(this) - (ArgEnd - ArgBegin + 1),
- ArgEnd - ArgBegin + 1, InsertAtEnd) {
+ (unsigned)(ArgEnd - ArgBegin + 1), InsertAtEnd) {
init(Func, ArgBegin, ArgEnd, Name,
typename std::iterator_traits<InputIterator>::iterator_category());
}
@@ -1099,7 +1099,7 @@
->getElementType())->getReturnType(),
Instruction::Call,
OperandTraits<CallInst>::op_end(this) - (ArgEnd - ArgBegin + 1),
- ArgEnd - ArgBegin + 1, InsertBefore) {
+ (unsigned)(ArgEnd - ArgBegin + 1), InsertBefore) {
init(Func, ArgBegin, ArgEnd, Name,
typename std::iterator_traits<InputIterator>::iterator_category());
}
More information about the llvm-commits
mailing list