diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | lib/unicase/special-casing.h | 3 |
2 files changed, 10 insertions, 1 deletions
@@ -1,3 +1,11 @@ +2017-02-13 Darshit Shah <darnir@gnu.org> + + unicase: Update function protoype to match definition. + * lib/unicase/special-casing.h (gl_unicase_special_lookup): Gperf 3.1 + uses 'size_t' as the datatype for the 'len' parameter in the functions + it generates. Update the prototype specified here to match the newly + generated function. + 2017-02-12 Bruno Haible <bruno@clisp.org> times test: Avoid gcc warnings on Linux/x32. diff --git a/lib/unicase/special-casing.h b/lib/unicase/special-casing.h index b2419a49a7..fc57523b9b 100644 --- a/lib/unicase/special-casing.h +++ b/lib/unicase/special-casing.h @@ -15,6 +15,7 @@ You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include <stddef.h> /* A special casing context. A context is negated through x -> -x. */ @@ -57,4 +58,4 @@ struct special_casing_rule }; extern const struct special_casing_rule * - gl_unicase_special_lookup (const char *str, unsigned int len); + gl_unicase_special_lookup (const char *str, size_t len); |