Skip to content

Commit c4c5b71

Browse files
omochirintaro
authored andcommitted
[Parse] Fix error in unsigned char target (#15068)
1 parent 2bb3612 commit c4c5b71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Parse/Lexer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2384,7 +2384,7 @@ void Lexer::lexTrivia(syntax::Trivia &Pieces, bool IsForTrailingTrivia) {
23842384
Restart:
23852385
const char *TriviaStart = CurPtr;
23862386

2387-
switch (*CurPtr++) {
2387+
switch ((signed char)*CurPtr++) {
23882388
case '\n':
23892389
if (IsForTrailingTrivia)
23902390
break;

0 commit comments

Comments
 (0)