summaryrefslogtreecommitdiff
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-03-14 05:56:07 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-03-14 05:56:07 (GMT)
commitae8ada450a9103d2fe94ac9baf072fd31de08c30 (patch)
tree6a3bc0a38bccc38b5ea00a67fc24e2b1fbb705f6 /git-compat-util.h
parent2408f3b74b26580b9f197e4edd96e73b0fba41c5 (diff)
parent189c860c9ec5deb95845c056ca5c15b58970158e (diff)
downloadgit-ae8ada450a9103d2fe94ac9baf072fd31de08c30.zip
git-ae8ada450a9103d2fe94ac9baf072fd31de08c30.tar.gz
git-ae8ada450a9103d2fe94ac9baf072fd31de08c30.tar.bz2
Merge branch 'bw/kwset-use-unsigned' into maint
The borrowed code in kwset API did not follow our usual convention to use "unsigned char" to store values that range from 0-255. * bw/kwset-use-unsigned: kwset: use unsigned char to store values with high-bit set
Diffstat (limited to 'git-compat-util.h')
-rw-r--r--git-compat-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-compat-util.h b/git-compat-util.h
index 8b72e2a..35b3fe0 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -688,7 +688,7 @@ static inline size_t xsize_t(off_t len)
}
/* in ctype.c, for kwset users */
-extern const char tolower_trans_tbl[256];
+extern const unsigned char tolower_trans_tbl[256];
/* Sane ctype - no locale, and works with signed chars */
#undef isascii