mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-20 09:30:43 +00:00
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
This commit is contained in:
parent
9cf96e853e
commit
ff25116a09
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user