Browse Source

MT#55283 use size_t as gperf length argument

Change-Id: I69ac24cc84fa385e4e3edd6f8b4b313df811728f
pull/1907/head
Richard Fuchs 11 months ago
parent
commit
86d039f5a6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      utils/const_str_hash

+ 1
- 1
utils/const_str_hash View File

@ -168,7 +168,7 @@ static int __csh_lookup_$num(const str *s) {
END
}
print("static const struct __csh_hash_lookup *(*__csh_lookup_funcs[])(const char *, long unsigned int) = {\n");
print("static const struct __csh_hash_lookup *(*__csh_lookup_funcs[])(const char *, size_t) = {\n");
for my $section (@sections) {
print("\t__csh_lookup_raw_$section->{num},\n");
}


Loading…
Cancel
Save