Skip to content

Commit

Permalink
MILexer.cpp: Try to fix a warning. [-Wsign-compare]
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240525 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
chapuni committed Jun 24, 2015
1 parent 1405564 commit 76bee1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/CodeGen/MIRParser/MILexer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class Cursor {

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; }

Expand Down

0 comments on commit 76bee1a

Please sign in to comment.