From 86d039f5a65a2cb55107487be1c8a9ac78cc5946 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Mon, 20 Jan 2025 07:36:23 -0400 Subject: [PATCH] MT#55283 use size_t as gperf length argument Change-Id: I69ac24cc84fa385e4e3edd6f8b4b313df811728f --- utils/const_str_hash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/const_str_hash b/utils/const_str_hash index 4cfb5474e..b0520fe62 100755 --- a/utils/const_str_hash +++ b/utils/const_str_hash @@ -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"); }