aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFeoramund <161657516+Feoramund@users.noreply.github.com>2024-06-30 16:27:37 -0400
committerFeoramund <161657516+Feoramund@users.noreply.github.com>2024-06-30 16:39:22 -0400
commit8e64265aed03f7d3b6fec51bbbd8596f2a271c0d (patch)
tree52458f5f4b07e09f10fc35064cc1e3444c05242e /tests
parent1e7dfd0e34916b716e9476dd5a9be82b63669842 (diff)
Replace unneeded `transmute`
Diffstat (limited to 'tests')
-rw-r--r--tests/core/net/test_core_net.odin4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/core/net/test_core_net.odin b/tests/core/net/test_core_net.odin
index d5949fb6c..a8f41082a 100644
--- a/tests/core/net/test_core_net.odin
+++ b/tests/core/net/test_core_net.odin
@@ -259,7 +259,7 @@ client_sends_server_data :: proc(t: ^testing.T) {
}
tcp_client :: proc(thread_data: rawptr) {
- r := transmute(^Thread_Data)thread_data
+ r := cast(^Thread_Data)thread_data
defer sync.wait_group_done(r.wg)
@@ -274,7 +274,7 @@ client_sends_server_data :: proc(t: ^testing.T) {
}
tcp_server :: proc(thread_data: rawptr) {
- r := transmute(^Thread_Data)thread_data
+ r := cast(^Thread_Data)thread_data
defer sync.wait_group_done(r.wg)