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:
parent
c190b0e65f
commit
1ff8d194cb
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user