diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-03-06 15:02:33 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-03-06 15:02:33 -0800 |
commit | 52d5bf77875275bbfc1bf1d7b690f355d5c869e4 (patch) | |
tree | 923bf448a13841ed649825d535060b8bdf0623bb /ctype.c | |
parent | 36ab7680c0ecd4ed1811e12488b14ea8ffce3a2b (diff) | |
parent | 189c860c9ec5deb95845c056ca5c15b58970158e (diff) | |
download | git-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |