Skip to content

Commit 52a59d5

Browse files
committed
Fix warning in scanner
1 parent 5b7490b commit 52a59d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scanner.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ static bool scan_hollerith_constant(TSLexer *lexer) {
197197
advance(lexer);
198198

199199
// Read exactly 'n' characters
200-
for (int i = 0; i < length; i++) {
200+
for (unsigned i = 0; i < length; i++) {
201201
if (!lexer->lookahead || lexer->eof(lexer)) {
202202
return false;
203203
}

0 commit comments

Comments
 (0)