aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Bytecode
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-10-29 20:09:01 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-10-29 20:09:01 +0000
commitbc839b58273b4d8c39b93a11935e1ec6fc1547a4 (patch)
tree0d152cff6548aaa29bca8a6e83e6d3ebcab83f99 /lib/Bytecode
parent3386e4544065c8408c74c62ec5a74653ca40726d (diff)
downloadexternal_llvm-bc839b58273b4d8c39b93a11935e1ec6fc1547a4.zip
external_llvm-bc839b58273b4d8c39b93a11935e1ec6fc1547a4.tar.gz
external_llvm-bc839b58273b4d8c39b93a11935e1ec6fc1547a4.tar.bz2
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
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 dcb034f..a9aaffe 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();