aboutsummaryrefslogtreecommitdiff
path: root/lib/Bytecode
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Bytecode')
-rw-r--r--lib/Bytecode/Writer/ConstantWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bytecode/Writer/ConstantWriter.cpp b/lib/Bytecode/Writer/ConstantWriter.cpp
index dcb034f783..a9aaffe3ec 100644
--- a/lib/Bytecode/Writer/ConstantWriter.cpp
+++ b/lib/Bytecode/Writer/ConstantWriter.cpp
@@ -32,7 +32,7 @@ void BytecodeWriter::outputType(const Type *T) {
output_vbr((unsigned)Slot, Out);
// Output the number of arguments to method (+1 if varargs):
- output_vbr(MT->getParamTypes().size()+MT->isVarArg(), Out);
+ output_vbr((unsigned)MT->getParamTypes().size()+MT->isVarArg(), Out);
// Output all of the arguments...
FunctionType::ParamTypes::const_iterator I = MT->getParamTypes().begin();