summaryrefslogtreecommitdiff
path: root/source/kit/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/kit/file.c')
-rw-r--r--source/kit/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/kit/file.c b/source/kit/file.c
index ff3a18d..d69bf76 100644
--- a/source/kit/file.c
+++ b/source/kit/file.c
@@ -24,9 +24,9 @@ static int is_delim(char const c) {
kit_string_t kit_path_norm(kit_str_t const path,
kit_allocator_t const alloc) {
- SZ(parent, "..");
+ str_t parent = SZ("..");
- kit_string_t norm;
+ string_t norm;
DA_INIT(norm, path.size, alloc);
assert(norm.size == path.size);