1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Remove "comparison of integers of different signs" warning by making the

variable unsigned.

llvm-svn: 120541
This commit is contained in:
Bill Wendling 2010-12-01 02:49:04 +00:00
parent 9c14dea286
commit e62557dc3c

View File

@ -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()) {