Add typecast to silence -Wswitch warning introduced by r153153.
authorCraig Topper <craig.topper@gmail.com>
Wed, 21 Mar 2012 02:28:53 +0000 (02:28 +0000)
committerCraig Topper <craig.topper@gmail.com>
Wed, 21 Mar 2012 02:28:53 +0000 (02:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153155 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp

index 7f5c3775b0fb9743755ce436d16a4388744381f9..9d5a2f18b39ae1b842c11d955adbb1e2899acaa9 100644 (file)
@@ -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;