Skip to content
Snippets Groups Projects
Commit 85eb0f16 authored by Junio C Hamano's avatar Junio C Hamano
Browse files

Merge branch 'tb/char-may-be-unsigned' into maint

Build portability fix.

* tb/char-may-be-unsigned:
  path.c: char is not (always) signed
parents 2b153408 30634774
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -1369,7 +1369,7 @@ static int is_ntfs_dot_generic(const char *name,
saw_tilde = 1;
} else if (i >= 6)
return 0;
else if (name[i] < 0) {
else if (name[i] & 0x80) {
/*
* We know our needles contain only ASCII, so we clamp
* here to make the results of tolower() sane.
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment