diff options
author | Frank Mehnert <frank.mehnert@kernkonzept.com> | 2024-07-29 13:57:40 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2024-07-30 02:36:47 +0200 |
commit | 8c9dc43f47ec4f2ab69f5092875638f68659fc8d (patch) | |
tree | 664b86bd3457fb0c29a56b3301a80aa8857c1188 /libuargp/argp-pvh.c | |
parent | eef17b261634e8f34dd4fb31c6e1b9658a79a21b (diff) |
ldso.c: use 'unsigned int' as loop variable type
As the condition for terminating the loop compares the loop variable
against an ElfW() variable which is, depending on the platform, either
uint32_t or uint64_t, use 'unsigned int' rather than 'int' for the loop
variable to prevent corresponding compiler warnings.
Note that it would not make sense to use 'unsigned long' because the
number of program headers will never exceed 32-bit.
Signed-off-by: Marcus Haehnel <marcus.haehnel@kernkonzept.com>
Diffstat (limited to 'libuargp/argp-pvh.c')
0 files changed, 0 insertions, 0 deletions