summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/Target/ARM/ARMAsmBackend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMAsmBackend.cpp b/llvm/lib/Target/ARM/ARMAsmBackend.cpp
index 432d0774e76..afd4e2cf958 100644
--- a/llvm/lib/Target/ARM/ARMAsmBackend.cpp
+++ b/llvm/lib/Target/ARM/ARMAsmBackend.cpp
@@ -134,7 +134,7 @@ void ELFARMAsmBackend::ApplyFixup(const MCFixup &Fixup, MCDataFragment &DF,
uint64_t Value) const {
uint32_t Mask = 0;
// Fixme: 2 for Thumb
- int NumBytes = 4;
+ unsigned NumBytes = 4;
Value = adjustFixupValue(Fixup.getKind(), Value);
switch (Fixup.getKind()) {
OpenPOWER on IntegriCloud