From e62557dc3ca85643963c8b9cc2095546dc934877 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. llvm-svn: 120541 --- 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()) {