mirror of
https://git.savannah.gnu.org/git/gperf.git
synced 2025-12-02 21:19:24 +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[] =
|
||||
{
|
||||
@@ -206,7 +206,7 @@ __attribute__ ((__gnu_inline__))
|
||||
struct resword *
|
||||
is_reserved_word (str, len)
|
||||
register const char *str;
|
||||
register unsigned int len;
|
||||
register size_t len;
|
||||
{
|
||||
if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user