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:
b6777ea
)
U is good enough
author
Douglas Gregor
<dgregor@apple.com>
Tue, 20 Sep 2011 18:33:29 +0000
(18:33 +0000)
committer
Douglas Gregor
<dgregor@apple.com>
Tue, 20 Sep 2011 18:33:29 +0000
(18:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140166
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/APInt.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/APInt.cpp
b/lib/Support/APInt.cpp
index 931c885b9268f5b65da187775869619d8ed74689..6eadaafd5f206cec472eeb3cf395676188dfb775 100644
(file)
--- a/
lib/Support/APInt.cpp
+++ b/
lib/Support/APInt.cpp
@@
-54,11
+54,11
@@
inline static unsigned getDigit(char cdigit, uint8_t radix) {
return r;
r = cdigit - 'A';
- if (r <=
unsigned(radix - 11U)
)
+ if (r <=
radix - 11U
)
return r + 10;
r = cdigit - 'a';
- if (r <=
unsigned(radix - 11U)
)
+ if (r <=
radix - 11U
)
return r + 10;
radix = 10;