Explicitly cast type, so we aren't passing output_vbr a size_t.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9590 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Brian Gaeke 2003-10-29 20:09:01 +00:00
parent 3386e45440
commit bc839b5827

View File

@ -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();