summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/CodeGen/MIRParser/MILexer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MIRParser/MILexer.cpp b/llvm/lib/CodeGen/MIRParser/MILexer.cpp
index b836221d9f0..0933ae138f2 100644
--- a/llvm/lib/CodeGen/MIRParser/MILexer.cpp
+++ b/llvm/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; }
OpenPOWER on IntegriCloud