diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-03-13 22:56:07 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-03-13 22:56:07 -0700 |
commit | ae8ada450a9103d2fe94ac9baf072fd31de08c30 (patch) | |
tree | 6a3bc0a38bccc38b5ea00a67fc24e2b1fbb705f6 /git-compat-util.h | |
parent | Merge branch 'nd/grep-exclude-standard-help-fix' into maint (diff) | |
parent | kwset: use unsigned char to store values with high-bit set (diff) | |
download | tgif-ae8ada450a9103d2fe94ac9baf072fd31de08c30.tar.xz |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-compat-util.h b/git-compat-util.h index 8b72e2a8dd..35b3fe0b3b 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 |