diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2003-10-29 20:09:01 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2003-10-29 20:09:01 +0000 |
commit | 45eb2eeb741d4aee8c0eee6c4fadefaf73d7fcf9 (patch) | |
tree | f683f58d5d7b905ba427a7c911a70b4a573008dc /llvm/lib/Bytecode | |
parent | adc07972bcc011453e63574c37da137fa3fc2120 (diff) | |
download | bcm5719-llvm-45eb2eeb741d4aee8c0eee6c4fadefaf73d7fcf9.tar.gz bcm5719-llvm-45eb2eeb741d4aee8c0eee6c4fadefaf73d7fcf9.zip |
Explicitly cast type, so we aren't passing output_vbr a size_t.
llvm-svn: 9590
Diffstat (limited to 'llvm/lib/Bytecode')
-rw-r--r-- | llvm/lib/Bytecode/Writer/ConstantWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bytecode/Writer/ConstantWriter.cpp b/llvm/lib/Bytecode/Writer/ConstantWriter.cpp index dcb034f7839..a9aaffe3eca 100644 --- a/llvm/lib/Bytecode/Writer/ConstantWriter.cpp +++ b/llvm/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(); |