Build with all warnings enabled

Fix resulting warnings
This commit is contained in:
Max Brunsfeld 2014-03-04 18:28:28 -08:00
parent 6253c19524
commit af64d3fffa
4 changed files with 18 additions and 8 deletions

View file

@ -148,7 +148,7 @@ namespace tree_sitter {
string error;
const string input;
const size_t length;
int position;
size_t position;
};
Pattern::Pattern(const string &string) : value(string) {};