Fix an apparent ambiguity compiling on PPC
authorChris Lattner <sabre@nondot.org>
Mon, 7 Mar 2005 02:59:36 +0000 (02:59 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 7 Mar 2005 02:59:36 +0000 (02:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20507 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Bytecode/Writer/Writer.cpp

index ad2dbd0fcc18db51fc5993c4465aac8cd2d73970..9862391b3acff16158c327bf1c8b92fb0becc75a 100644 (file)
@@ -1071,7 +1071,7 @@ void BytecodeWriter::outputSymbolTable(const SymbolTable &MST) {
     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);