diff options
| author | XXIV <13811862+thechampagne@users.noreply.github.com> | 2023-10-28 09:27:58 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-28 02:27:58 -0400 |
| commit | 9ff9ea38ea2a7dc776bb2954d31109ec1c81d191 (patch) | |
| tree | 0920158ab7ab31a2c61f4ca5ae4245639e9d448f /lib | |
| parent | c1c9bc0c41eb8956b2fe0b21e2443c6504e73234 (diff) | |
| download | zig-9ff9ea38ea2a7dc776bb2954d31109ec1c81d191.tar.gz zig-9ff9ea38ea2a7dc776bb2954d31109ec1c81d191.zip | |
compiler_rt/emutls: remove unnecessary `@ptrCast` (#17755)
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/compiler_rt/emutls.zig | 2 |
1 files changed, 1 insertions, 1 deletions
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].?; |
