libc/basename: Change len type from int to size_t

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2023-07-16 00:00:29 +08:00 committed by Petro Karashchenko
parent dc6f1406d1
commit 45cdb3efa4
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@
FAR char *basename(FAR char *path)
{
FAR char *p;
int len;
size_t len;
/* Handle some corner cases */