mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-26 16:23:55 +00:00
tests/core/crypto: Fix new -vet issues
This commit is contained in:
@@ -58,9 +58,9 @@ test_sqrt_ratio_m1 :: proc(t: ^testing.T) {
|
||||
v_bytes, _ := hex.decode(transmute([]byte)(v.v), context.temp_allocator)
|
||||
r_bytes, _ := hex.decode(transmute([]byte)(v.r), context.temp_allocator)
|
||||
|
||||
u_ := transmute(^[32]byte)(raw_data(u_bytes))
|
||||
v_ := transmute(^[32]byte)(raw_data(v_bytes))
|
||||
r_ := transmute(^[32]byte)(raw_data(r_bytes))
|
||||
u_ := (^[32]byte)(raw_data(u_bytes))
|
||||
v_ := (^[32]byte)(raw_data(v_bytes))
|
||||
r_ := (^[32]byte)(raw_data(r_bytes))
|
||||
|
||||
u, vee, r: field.Tight_Field_Element
|
||||
field.fe_from_bytes(&u, u_)
|
||||
|
||||
Reference in New Issue
Block a user