Skip to content

Commit 1f8e7dc

Browse files
committed
Merge branch 'tb/char-may-be-unsigned'
Build portability fix. * tb/char-may-be-unsigned: path.c: char is not (always) signed
2 parents b9c3f06 + 3063477 commit 1f8e7dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

path.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1369,7 +1369,7 @@ static int is_ntfs_dot_generic(const char *name,
13691369
saw_tilde = 1;
13701370
} else if (i >= 6)
13711371
return 0;
1372-
else if (name[i] < 0) {
1372+
else if (name[i] & 0x80) {
13731373
/*
13741374
* We know our needles contain only ASCII, so we clamp
13751375
* here to make the results of tolower() sane.

0 commit comments

Comments
 (0)