commit | ef0401ad6610132b70885322eff7dfdd17bd6167 | [log] [tgz] |
---|---|---|
author | Michael J. Spencer <bigcheesegs@gmail.com> | Thu Oct 21 20:49:38 2010 +0000 |
committer | Michael J. Spencer <bigcheesegs@gmail.com> | Thu Oct 21 20:49:38 2010 +0000 |
tree | a6cd858cbfc07f2d1068af046f14d3226e44ea67 | |
parent | 391b43bf33b77cb73966c9582d5b3fdfe0c38e80 [diff] [blame] |
Fix Warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117062 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/MC/WinCOFFObjectWriter.cpp b/lib/MC/WinCOFFObjectWriter.cpp index 59cac2b..fd79203 100644 --- a/lib/MC/WinCOFFObjectWriter.cpp +++ b/lib/MC/WinCOFFObjectWriter.cpp
@@ -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: