[llvm-commits] [llvm] r120541 - /llvm/trunk/lib/Target/ARM/ARMAsmBackend.cpp
Bill Wendling
isanbard at gmail.com
Tue Nov 30 18:49:04 PST 2010
Author: void
Date: Tue Nov 30 20:49:04 2010
New Revision: 120541
URL: http://llvm.org/viewvc/llvm-project?rev=120541&view=rev
Log:
Remove "comparison of integers of different signs" warning by making the
variable unsigned.
Modified:
llvm/trunk/lib/Target/ARM/ARMAsmBackend.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMAsmBackend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMAsmBackend.cpp?rev=120541&r1=120540&r2=120541&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMAsmBackend.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMAsmBackend.cpp Tue Nov 30 20:49:04 2010
@@ -134,7 +134,7 @@
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()) {
More information about the llvm-commits
mailing list