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

Chris Lattner lattner at cs.uiuc.edu
Sun Mar 6 18:59:52 PST 2005



Changes in directory llvm/lib/Bytecode/Writer:

Writer.cpp updated: 1.94 -> 1.95
---
Log message:

Fix an apparent ambiguity compiling on PPC


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

 Writer.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Bytecode/Writer/Writer.cpp
diff -u llvm/lib/Bytecode/Writer/Writer.cpp:1.94 llvm/lib/Bytecode/Writer/Writer.cpp:1.95
--- llvm/lib/Bytecode/Writer/Writer.cpp:1.94	Sat Mar  5 20:32:00 2005
+++ llvm/lib/Bytecode/Writer/Writer.cpp	Sun Mar  6 20:59:36 2005
@@ -1071,7 +1071,7 @@
     if (I == End) continue;  // Don't mess with an absent type...
 
     // Write the number of values in this plane
-    output_vbr(PI->second.size());
+    output_vbr((unsigned)PI->second.size());
 
     // Write the slot number of the type for this plane
     Slot = Table.getSlot(PI->first);






More information about the llvm-commits mailing list