Skip to content

Commit

Permalink
compiler_rt/emutls: remove unnecessary @ptrCast (ziglang#17755)
Browse files Browse the repository at this point in the history
  • Loading branch information
thechampagne authored Oct 28, 2023
1 parent c1c9bc0 commit 9ff9ea3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compiler_rt/emutls.zig
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ const ObjectArray = struct {
@memset(data[0..size], 0);
}

self.slots[index] = @ptrCast(data);
self.slots[index] = data;
}

return self.slots[index].?;
Expand Down

0 comments on commit 9ff9ea3

Please sign in to comment.