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:
@@ -49,7 +49,7 @@ inline
|
||||
static unsigned int
|
||||
hash (str, len)
|
||||
register const char *str;
|
||||
register unsigned int len;
|
||||
register size_t len;
|
||||
{
|
||||
static unsigned char asso_values[] =
|
||||
{
|
||||
@@ -110,7 +110,7 @@ __attribute__ ((__gnu_inline__))
|
||||
struct resword *
|
||||
is_reserved_word (str, len)
|
||||
register const char *str;
|
||||
register unsigned int len;
|
||||
register size_t len;
|
||||
{
|
||||
static struct resword wordlist[] =
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user