[llvm-commits] [llvm] r117062 - /llvm/trunk/lib/MC/WinCOFFObjectWriter.cpp
Michael J. Spencer
bigcheesegs at gmail.com
Thu Oct 21 13:49:38 PDT 2010
Author: mspencer
Date: Thu Oct 21 15:49:38 2010
New Revision: 117062
URL: http://llvm.org/viewvc/llvm-project?rev=117062&view=rev
Log:
Fix Warnings.
Modified:
llvm/trunk/lib/MC/WinCOFFObjectWriter.cpp
Modified: llvm/trunk/lib/MC/WinCOFFObjectWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/WinCOFFObjectWriter.cpp?rev=117062&r1=117061&r2=117062&view=diff
==============================================================================
--- llvm/trunk/lib/MC/WinCOFFObjectWriter.cpp (original)
+++ llvm/trunk/lib/MC/WinCOFFObjectWriter.cpp Thu Oct 21 15:49:38 2010
@@ -688,7 +688,7 @@
Reloc.Data.VirtualAddress += Fixup.getOffset();
- switch (Fixup.getKind()) {
+ switch ((unsigned)Fixup.getKind()) {
case X86::reloc_pcrel_4byte:
case X86::reloc_riprel_4byte:
case X86::reloc_riprel_4byte_movq_load:
More information about the llvm-commits
mailing list