[llvm-commits] CVS: llvm/lib/Bytecode/Writer/ConstantWriter.cpp

Brian Gaeke gaeke at cs.uiuc.edu
Wed Oct 29 14:10:04 PST 2003


Changes in directory llvm/lib/Bytecode/Writer:

ConstantWriter.cpp updated: 1.25 -> 1.26

---
Log message:

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


---
Diffs of the changes:  (+1 -1)

Index: llvm/lib/Bytecode/Writer/ConstantWriter.cpp
diff -u llvm/lib/Bytecode/Writer/ConstantWriter.cpp:1.25 llvm/lib/Bytecode/Writer/ConstantWriter.cpp:1.26
--- llvm/lib/Bytecode/Writer/ConstantWriter.cpp:1.25	Mon Oct 20 14:43:15 2003
+++ llvm/lib/Bytecode/Writer/ConstantWriter.cpp	Wed Oct 29 14:09:01 2003
@@ -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();





More information about the llvm-commits mailing list