mirror of
https://github.com/ziglang/zig.git
synced 2024-12-03 18:38:45 +00:00
compiler_rt/emutls: remove unnecessary @ptrCast
(#17755)
This commit is contained in:
parent
c1c9bc0c41
commit
9ff9ea38ea
@ -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].?;
|
||||
|
Loading…
Reference in New Issue
Block a user