1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 13:09:22 +00:00

Change the 'len' parameter type to 'size_t'.

This commit is contained in:
Bruno Haible
2016-11-26 17:54:33 +01:00
parent 31784d388f
commit d519d1a821
19 changed files with 66 additions and 49 deletions

View File

@@ -44,7 +44,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 unsigned char asso_values[] =
{
@@ -114,7 +114,7 @@ __attribute__ ((__gnu_inline__))
#endif
#endif
const char *
in_word_set (register const char *str, register unsigned int len)
in_word_set (register const char *str, register size_t len)
{
static unsigned char lengthtable[] =
{