aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorXXIV <13811862+thechampagne@users.noreply.github.com>2023-10-28 09:27:58 +0300
committerGitHub <noreply@github.com>2023-10-28 02:27:58 -0400
commit9ff9ea38ea2a7dc776bb2954d31109ec1c81d191 (patch)
tree0920158ab7ab31a2c61f4ca5ae4245639e9d448f /lib
parentc1c9bc0c41eb8956b2fe0b21e2443c6504e73234 (diff)
downloadzig-9ff9ea38ea2a7dc776bb2954d31109ec1c81d191.tar.gz
zig-9ff9ea38ea2a7dc776bb2954d31109ec1c81d191.zip
compiler_rt/emutls: remove unnecessary `@ptrCast` (#17755)
Diffstat (limited to 'lib')
-rw-r--r--lib/compiler_rt/emutls.zig2
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].?;