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 /kwset.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 'kwset.h')
-rw-r--r-- | kwset.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -39,7 +39,7 @@ typedef struct kwset_t* kwset_t; if enough memory cannot be obtained. The argument if non-NULL specifies a table of character translations to be applied to all pattern and search text. */ -extern kwset_t kwsalloc(char const *); +extern kwset_t kwsalloc(unsigned char const *); /* Incrementally extend the keyword set to include the given string. Return NULL for success, or an error message. Remember an index |