mirror of
https://github.com/apache/nuttx.git
synced 2026-08-20 22:24:52 +08:00
libc/basename: Change len type from int to size_t
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user