From 9be7c94ccd175c023c10ce3936a6dd374c7a952f 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153155 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp b/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp index 7f5c3775b0f..9d5a2f18b39 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; -- 2.34.1