From 3519759bac20fa10a0d8000ef12faaad9af1b506 Mon Sep 17 00:00:00 2001 From: Darshit Shah Date: Mon, 13 Feb 2017 18:40:33 +0100 Subject: [PATCH] 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 --- lib/unicase/special-casing.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/unicase/special-casing.h b/lib/unicase/special-casing.h index b2419a49a..a4f0d7ec6 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 . */ +#include /* 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); -- 2.11.1