Skip to content

Commit eb65ac2

Browse files
author
_
committed
fix unicode handling
1 parent 0acb065 commit eb65ac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pfa/pfa.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ static const char *ls_to_string(int ls) {
161161
}
162162

163163
static int isalpha_lead(char c) {
164-
if (c > 127)
164+
if ((unsigned int)c > 127)
165165
return 1;
166166
if ('a' <= c && c <= 'z')
167167
return 1;

0 commit comments

Comments
 (0)