Skip to content

Commit 45cdb3e

Browse files
xiaoxiang781216pkarashchenko
authored andcommitted
libc/basename: Change len type from int to size_t
Signed-off-by: Xiang Xiao <[email protected]>
1 parent dc6f140 commit 45cdb3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/libc/libgen/lib_basename.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
FAR char *basename(FAR char *path)
6161
{
6262
FAR char *p;
63-
int len;
63+
size_t len;
6464

6565
/* Handle some corner cases */
6666

0 commit comments

Comments
 (0)