Skip to content

Commit

Permalink
Fixing stable_array init
Browse files Browse the repository at this point in the history
  • Loading branch information
Southporter committed May 20, 2024
1 parent b5e4d74 commit e244ee6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/zig-stable-array/stable_array.zig
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ pub fn StableArrayAligned(comptime T: type, comptime alignment: u29) type {
const map: std.c.MAP = .{
.ANONYMOUS = true,
.TYPE = .PRIVATE,
.FIXED = true,
};
const fd: std.posix.fd_t = -1;
const offset: usize = 0;
Expand Down

0 comments on commit e244ee6

Please sign in to comment.