diff --git a/lib/compiler_rt/emutls.zig b/lib/compiler_rt/emutls.zig index 66d944bc21..01c090deab 100644 --- a/lib/compiler_rt/emutls.zig +++ b/lib/compiler_rt/emutls.zig @@ -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].?;