Add another -vet-cast check

This commit is contained in:
gingerBill
2024-06-29 12:40:04 +01:00
parent 706adb1232
commit c88a1bef91
5 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ Returns:
- result: A valid version 8 UUID.
*/
stamp_v8_array :: proc(array: [16]u8) -> (result: Identifier) {
result = transmute(Identifier)array
result = Identifier(array)
result[VERSION_BYTE_INDEX] &= 0x0F
result[VERSION_BYTE_INDEX] |= 0x80