diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-09-19 20:08:54 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-09-19 20:08:54 +0000 |
| commit | c20a3ebba0d687e7f11d1479fb7d354be6e0a884 (patch) | |
| tree | 55cb2b551669dbafdb1cb67c937ac2bf8cf15377 /llvm/lib/Support | |
| parent | 78ee973788395a9e6b34c0879f249f190861b039 (diff) | |
| download | bcm5719-llvm-c20a3ebba0d687e7f11d1479fb7d354be6e0a884.tar.gz bcm5719-llvm-c20a3ebba0d687e7f11d1479fb7d354be6e0a884.zip | |
Silence -Wsign-compare warnings from GCC.
llvm-svn: 140043
Diffstat (limited to 'llvm/lib/Support')
| -rw-r--r-- | llvm/lib/Support/APInt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Support/APInt.cpp b/llvm/lib/Support/APInt.cpp index 3cb75762790..d7291a18aa5 100644 --- a/llvm/lib/Support/APInt.cpp +++ b/llvm/lib/Support/APInt.cpp @@ -54,11 +54,11 @@ inline static unsigned getDigit(char cdigit, uint8_t radix) { return r; r = cdigit - 'A'; - if (r <= radix-11) + if (r <= radix - 11U) return r + 10; r = cdigit - 'a'; - if (r <= radix-11) + if (r <= radix - 11U) return r + 10; } |

