From bdc730f1e5da90fef9c2e90c43f2b5855d66501d Mon Sep 17 00:00:00 2001 From: Yorhel Date: Tue, 29 Oct 2024 14:45:10 +0100 Subject: [PATCH] Bin export: fix incorrectly setting prev=0 on the root node --- src/bin_export.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin_export.zig b/src/bin_export.zig index 2e0223b..b19628a 100644 --- a/src/bin_export.zig +++ b/src/bin_export.zig @@ -390,7 +390,7 @@ pub const Dir = struct { p.last_sub = t.itemStart(.dir, p.last_sub, name); } else { d.countLinks(null); - global.root_itemref = t.itemStart(.dir, 0, name); + global.root_itemref = t.itemStart(.dir, null, name); } d.inodes.deinit();