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:
parent
9c14dea286
commit
e62557dc3c
@ -134,7 +134,7 @@ void ELFARMAsmBackend::ApplyFixup(const MCFixup &Fixup, MCDataFragment &DF,
|
|||||||
uint64_t Value) const {
|
uint64_t Value) const {
|
||||||
uint32_t Mask = 0;
|
uint32_t Mask = 0;
|
||||||
// Fixme: 2 for Thumb
|
// Fixme: 2 for Thumb
|
||||||
int NumBytes = 4;
|
unsigned NumBytes = 4;
|
||||||
Value = adjustFixupValue(Fixup.getKind(), Value);
|
Value = adjustFixupValue(Fixup.getKind(), Value);
|
||||||
|
|
||||||
switch (Fixup.getKind()) {
|
switch (Fixup.getKind()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user