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

llvm-svn: 9590
diff --git a/llvm/lib/Bytecode/Writer/ConstantWriter.cpp b/llvm/lib/Bytecode/Writer/ConstantWriter.cpp
index dcb034f..a9aaffe 100644
--- a/llvm/lib/Bytecode/Writer/ConstantWriter.cpp
+++ b/llvm/lib/Bytecode/Writer/ConstantWriter.cpp
@@ -32,7 +32,7 @@
     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();