summaryrefslogtreecommitdiff
path: root/src/type
diff options
context:
space:
mode:
Diffstat (limited to 'src/type')
-rw-r--r--src/type/root.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/type/root.zig b/src/type/root.zig
index 128f3d9..9b7725e 100644
--- a/src/type/root.zig
+++ b/src/type/root.zig
@@ -19,7 +19,7 @@ pub const Type = extern struct {
var c_desc: c.PyStructSequence_Desc = .{
.name = @ptrCast(description.name),
.doc = @ptrCast(description.doc),
- .fields = @ptrCast(@constCast(fields)),
+ .fields = @ptrCast(@constCast(fields ++ .{ std.mem.zeroes(Description) })),
.n_in_sequence = @intCast(fields.len),
};