aboutsummaryrefslogtreecommitdiff
path: root/src/api/schema.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/schema.zig')
-rw-r--r--src/api/schema.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/schema.zig b/src/api/schema.zig
index d34e501a3..c10e5b5a3 100644
--- a/src/api/schema.zig
+++ b/src/api/schema.zig
@@ -442,6 +442,7 @@ pub fn update(result: *OutputFile, allocator: *std.mem.Allocator, reader: anytyp
pub fn encode(result: *const @This(), writer: anytype) anyerror!void {
+ try writer.writeIntNative(u32, @intCast(u32, result.data.len));
try writer.writeAll(result.data);
try writer.writeIntNative(u32, @intCast(u32, result.path.len));