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
This commit is contained in:
Junio C Hamano
2015-03-06 15:02:33 -08:00
4 changed files with 7 additions and 7 deletions

View File

@ -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