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:35:35 +03:00
committed by Petro Karashchenko
parent dc6f1406d1
commit 45cdb3efa4
+1 -1
View File
@@ -60,7 +60,7 @@
FAR char *basename(FAR char *path)
{
FAR char *p;
int len;
size_t len;
/* Handle some corner cases */