aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Mips/MCTargetDesc
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-03-21 02:28:53 +0000
committerCraig Topper <craig.topper@gmail.com>2012-03-21 02:28:53 +0000
commit9be7c94ccd175c023c10ce3936a6dd374c7a952f (patch)
tree604a707f9c8f272c46dac827e0aa1591298b185d /lib/Target/Mips/MCTargetDesc
parent3d092dbb91af75c7d39798c6d7a52d32446c3381 (diff)
downloadexternal_llvm-9be7c94ccd175c023c10ce3936a6dd374c7a952f.zip
external_llvm-9be7c94ccd175c023c10ce3936a6dd374c7a952f.tar.gz
external_llvm-9be7c94ccd175c023c10ce3936a6dd374c7a952f.tar.bz2
Add typecast to silence -Wswitch warning introduced by r153153.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153155 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MCTargetDesc')
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp b/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
index 7f5c377..9d5a2f1 100644
--- a/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
+++ b/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
@@ -99,7 +99,7 @@ public:
// Used to point to big endian bytes
unsigned FullSize;
- switch (Kind) {
+ switch ((unsigned)Kind) {
case Mips::fixup_Mips_16:
FullSize = 2;
break;