[llvm-commits] [llvm] r153155 - /llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
Craig Topper
craig.topper at gmail.com
Tue Mar 20 19:28:54 PDT 2012
Author: ctopper
Date: Tue Mar 20 21:28:53 2012
New Revision: 153155
URL: http://llvm.org/viewvc/llvm-project?rev=153155&view=rev
Log:
Add typecast to silence -Wswitch warning introduced by r153153.
Modified:
llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
Modified: llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp?rev=153155&r1=153154&r2=153155&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp Tue Mar 20 21:28:53 2012
@@ -99,7 +99,7 @@
// Used to point to big endian bytes
unsigned FullSize;
- switch (Kind) {
+ switch ((unsigned)Kind) {
case Mips::fixup_Mips_16:
FullSize = 2;
break;
More information about the llvm-commits
mailing list