From 9ff9ea38ea2a7dc776bb2954d31109ec1c81d191 Mon Sep 17 00:00:00 2001 From: XXIV <13811862+thechampagne@users.noreply.github.com> Date: Sat, 28 Oct 2023 09:27:58 +0300 Subject: compiler_rt/emutls: remove unnecessary `@ptrCast` (#17755) --- lib/compiler_rt/emutls.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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].?; -- cgit v1.2.3