From: Bill Wendling Date: Wed, 1 Dec 2010 02:49:04 +0000 (+0000) Subject: Remove "comparison of integers of different signs" warning by making the X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ff25116a097230f6fff309a73a9b0610631282a6;p=oota-llvm.git 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 --- 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()) {