summaryrefslogtreecommitdiff
path: root/lib/Bytecode/Writer
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-03-07 02:59:36 +0000
committerChris Lattner <sabre@nondot.org>2005-03-07 02:59:36 +0000
commit001d16aa9c9b68691956bd7829c3993ca8ed2302 (patch)
treed2436342878d6fbfbf08e4498a0972fa5b7d9a75 /lib/Bytecode/Writer
parent2f62fdc9a71d790d381d7f17d16e7098e30217e3 (diff)
downloadllvm-001d16aa9c9b68691956bd7829c3993ca8ed2302.tar.gz
llvm-001d16aa9c9b68691956bd7829c3993ca8ed2302.tar.bz2
llvm-001d16aa9c9b68691956bd7829c3993ca8ed2302.tar.xz
Fix an apparent ambiguity compiling on PPC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20507 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Writer')
-rw-r--r--lib/Bytecode/Writer/Writer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bytecode/Writer/Writer.cpp b/lib/Bytecode/Writer/Writer.cpp
index ad2dbd0fcc..9862391b3a 100644
--- a/lib/Bytecode/Writer/Writer.cpp
+++ b/lib/Bytecode/Writer/Writer.cpp
@@ -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);