aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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].?;