summaryrefslogtreecommitdiff
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-03-06 15:02:33 -0800
committerJunio C Hamano <gitster@pobox.com>2015-03-06 15:02:33 -0800
commit52d5bf77875275bbfc1bf1d7b690f355d5c869e4 (patch)
tree923bf448a13841ed649825d535060b8bdf0623bb /git-compat-util.h
parent36ab7680c0ecd4ed1811e12488b14ea8ffce3a2b (diff)
parent189c860c9ec5deb95845c056ca5c15b58970158e (diff)
downloadgit-52d5bf77875275bbfc1bf1d7b690f355d5c869e4.tar.gz
Merge branch 'bw/kwset-use-unsigned'
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 fd58b1d2bc..a3095be962 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