projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cf96e8
)
Remove "comparison of integers of different signs" warning by making the
author
Bill Wendling
<isanbard@gmail.com>
Wed, 1 Dec 2010 02:49:04 +0000
(
02:49
+0000)
committer
Bill Wendling
<isanbard@gmail.com>
Wed, 1 Dec 2010 02:49:04 +0000
(
02:49
+0000)
variable unsigned.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120541
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMAsmBackend.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMAsmBackend.cpp
b/lib/Target/ARM/ARMAsmBackend.cpp
index 432d0774e76fa13aa244e170885ce75d475b07e0..afd4e2cf9583ba422a5557cf5ec860ad132e52ab 100644
(file)
--- 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()) {