From 344e0128baad42e4ef1a1b35b4399675c7425f57 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Wed, 21 Mar 2012 02:28:53 +0000 Subject: [PATCH] Add typecast to silence -Wswitch warning introduced by r153153. llvm-svn: 153155 --- llvm/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp b/llvm/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp index 7f5c3775b0fb..9d5a2f18b39a 100644 --- a/llvm/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp +++ b/llvm/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;