aboutsummaryrefslogtreecommitdiff
path: root/core/encoding
diff options
context:
space:
mode:
authorFeoramund <161657516+Feoramund@users.noreply.github.com>2024-06-28 22:49:48 -0400
committerFeoramund <161657516+Feoramund@users.noreply.github.com>2024-06-28 23:14:03 -0400
commitb3caae6db4da4b604d5812d587b773674d72ccf3 (patch)
tree58f77f0adbb571417c48032363b72d83c50f4a52 /core/encoding
parent6496432b8056eeecd9ba396148f7c458a5cc02ac (diff)
Keep `-vet` happy
Diffstat (limited to 'core/encoding')
-rw-r--r--core/encoding/uuid/generation.odin4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/encoding/uuid/generation.odin b/core/encoding/uuid/generation.odin
index cf29df378..7c9d4b80c 100644
--- a/core/encoding/uuid/generation.odin
+++ b/core/encoding/uuid/generation.odin
@@ -106,8 +106,8 @@ generate_v6 :: proc(clock_seq: Maybe(u16) = nil, node: Maybe([6]u8) = nil, times
temporary: [2]u8
bytes_generated := rand.read(temporary[:])
assert(bytes_generated == 2, "RNG failed to generate 2 bytes for UUID v1.")
- result[8] |= cast(u8)temporary[0] & 0x3F
- result[9] = cast(u8)temporary[1]
+ result[8] |= temporary[0] & 0x3F
+ result[9] = temporary[1]
}
if realized_node, ok := node.?; ok {