compiler_rt/emutls: remove unnecessary @ptrCast (#17755)

This commit is contained in:
XXIV
2023-10-28 09:27:58 +03:00
committed by GitHub
parent c1c9bc0c41
commit 9ff9ea38ea

View File

@@ -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].?;