libc/basename: Change len type from int to size_t
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
dc6f1406d1
commit
45cdb3efa4
|
@ -60,7 +60,7 @@
|
|||
FAR char *basename(FAR char *path)
|
||||
{
|
||||
FAR char *p;
|
||||
int len;
|
||||
size_t len;
|
||||
|
||||
/* Handle some corner cases */
|
||||
|
||||
|
|
Loading…
Reference in New Issue