diff options
Diffstat (limited to 'kernel/storage.cpp')
-rw-r--r-- | kernel/storage.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/kernel/storage.cpp b/kernel/storage.cpp index 29ae6cf..97d89aa 100644 --- a/kernel/storage.cpp +++ b/kernel/storage.cpp @@ -99,7 +99,7 @@ namespace mercury::kernel::storage { segments.add_end(r.segments.buffer[i]); } - void canonize_path(const char *str, size_t len, canon_path &out) { + void canonize_path(const char *str, unsigned len, canon_path &out) { out.absolute = false; out.parent_count = 0; @@ -121,8 +121,8 @@ namespace mercury::kernel::storage { while (len != 0) { - size_t segment_len = utility::find(str, len, '/'); - size_t to_skip = segment_len == len ? segment_len : segment_len + 1; + unsigned segment_len = utility::find(str, len, '/'); + unsigned to_skip = segment_len == len ? segment_len : segment_len + 1; if (segment_len == 0) ; @@ -169,6 +169,9 @@ namespace mercury::kernel::storage { //TODO while (1) ; + (void)bd; + (void)node; + (void)out; } static io_result resolve_symlinks( |