aboutsummaryrefslogtreecommitdiff
path: root/ctype.c
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 /ctype.c
parent36ab7680c0ecd4ed1811e12488b14ea8ffce3a2b (diff)
parent189c860c9ec5deb95845c056ca5c15b58970158e (diff)
downloadgit-52d5bf77875275bbfc1bf1d7b690f355d5c869e4.tar.gz
git-52d5bf77875275bbfc1bf1d7b690f355d5c869e4.tar.xz
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 'ctype.c')
-rw-r--r--ctype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctype.c b/ctype.c
index 0bfebb4e7..fc0225ceb 100644
--- a/ctype.c
+++ b/ctype.c
@@ -30,7 +30,7 @@ const unsigned char sane_ctype[256] = {
};
/* For case-insensitive kwset */
-const char tolower_trans_tbl[256] = {
+const unsigned char tolower_trans_tbl[256] = {
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17,