From 30deed28205a5bcd599f669b533c55f78e77c4ca Mon Sep 17 00:00:00 2001 From: apio Date: Sat, 11 Mar 2023 10:39:42 +0100 Subject: [PATCH] libluna/CPath: Replace size_t with usize --- libluna/src/CPath.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libluna/src/CPath.cpp b/libluna/src/CPath.cpp index cbe31799..d956201b 100644 --- a/libluna/src/CPath.cpp +++ b/libluna/src/CPath.cpp @@ -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.