From ff25116a097230f6fff309a73a9b0610631282a6 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 1 Dec 2010 02:49:04 +0000 Subject: [PATCH] Remove "comparison of integers of different signs" warning by making the variable unsigned. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120541 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMAsmBackend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/ARM/ARMAsmBackend.cpp b/lib/Target/ARM/ARMAsmBackend.cpp index 432d0774e76..afd4e2cf958 100644 --- a/lib/Target/ARM/ARMAsmBackend.cpp +++ b/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()) {