libluna/CPath: Replace size_t with usize
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
apio 2023-03-11 10:39:42 +01:00
parent 0c07e66c4f
commit 30deed2820
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -7,7 +7,7 @@ char* basename(char* path)
{
// If path is NULL, or the string's length is 0, return .
if (!path) return dot;
size_t len = strlen(path);
usize len = strlen(path);
if (!len) return dot;
// Strip trailing slashes.
@ -27,7 +27,7 @@ char* dirname(char* path)
{
// If path is NULL, or the string's length is 0, return .
if (!path) return dot;
size_t len = strlen(path);
usize len = strlen(path);
if (!len) return dot;
// Strip trailing slashes.