summaryrefslogtreecommitdiff
path: root/tests/charsets.exp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/charsets.exp')
-rw-r--r--tests/charsets.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/charsets.exp b/tests/charsets.exp
index 7e2b988..2f008bd 100644
--- a/tests/charsets.exp
+++ b/tests/charsets.exp
@@ -56,7 +56,7 @@ inline
#endif
#endif
static unsigned int
-hash (register const char *str, register unsigned int len)
+hash (register const char *str, register size_t len)
{
static const unsigned short asso_values[] =
{
@@ -1808,7 +1808,7 @@ __attribute__ ((__gnu_inline__))
#endif
#endif
const struct charset *
-in_word_set (register const char *str, register unsigned int len)
+in_word_set (register const char *str, register size_t len)
{
if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
{