projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75548de
)
Silence compiler warning about case values not being in the enumerated type
author
Duncan Sands
<baldrick@free.fr>
Tue, 15 Mar 2011 08:54:51 +0000
(08:54 +0000)
committer
Duncan Sands
<baldrick@free.fr>
Tue, 15 Mar 2011 08:54:51 +0000
(08:54 +0000)
MCFixupKind. This is the same technique that is used elsewhere in MC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127676
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/MC/MachObjectWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/MC/MachObjectWriter.cpp
b/lib/MC/MachObjectWriter.cpp
index de5349459d1c2d71de3f35eff98b32c987daf86b..bd294c27e8a7654109ab1bbc29fb3089db82bd9e 100644
(file)
--- a/
lib/MC/MachObjectWriter.cpp
+++ b/
lib/MC/MachObjectWriter.cpp
@@
-826,7
+826,7
@@
public:
// relocation entry in the the low 16 bits of r_address field.
unsigned ThumbBit = 0;
unsigned MovtBit = 0;
- switch (Fixup.getKind()) {
+ switch (
(unsigned)
Fixup.getKind()) {
default: break;
case ARM::fixup_arm_movt_hi16:
case ARM::fixup_arm_movt_hi16_pcrel: