gcov: Fix integer types in ftw_read_file()

libgcc/

	* libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
This commit is contained in:
Sebastian Huber 2022-03-30 22:05:12 +02:00
parent c190b0e65f
commit 1ff8d194cb
1 changed files with 2 additions and 2 deletions

View File

@ -384,8 +384,8 @@ ftw_read_file (const char *filename,
const struct stat *status ATTRIBUTE_UNUSED,
int type)
{
int filename_len;
int suffix_len;
size_t filename_len;
size_t suffix_len;
/* Only read regular files. */
if (type != FTW_F)