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:
1405564
)
MILexer.cpp: Try to fix a warning. [-Wsign-compare]
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Wed, 24 Jun 2015 06:40:09 +0000
(06:40 +0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Wed, 24 Jun 2015 06:40:09 +0000
(06:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240525
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/MIRParser/MILexer.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/MIRParser/MILexer.cpp
b/lib/CodeGen/MIRParser/MILexer.cpp
index b836221d9f08ff195966cdaa6256492a5370dce7..0933ae138f2f3a63309188a618fa25db1db63c50 100644
(file)
--- a/
lib/CodeGen/MIRParser/MILexer.cpp
+++ b/
lib/CodeGen/MIRParser/MILexer.cpp
@@
-33,7
+33,7
@@
public:
bool isEOF() const { return Ptr == End; }
- char peek(
unsigned
I = 0) const { return End - Ptr <= I ? 0 : Ptr[I]; }
+ char peek(
int
I = 0) const { return End - Ptr <= I ? 0 : Ptr[I]; }
void advance() { ++Ptr; }