mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
crypto: remove extraneous casts & rename rand_lin to rand_linux
This commit is contained in:

committed by
Alexander Medvednikov

parent
dd61a22367
commit
2897bac549
@ -49,7 +49,7 @@ fn bytes_to_u64(b []byte) []u64 {
|
||||
if i > 0 {
|
||||
mut d := u64(0)
|
||||
for s := u64(0); i > 0; s += u64(8) {
|
||||
d |= u64(u64(b[i-1]) << s)
|
||||
d |= u64(b[i-1]) << s
|
||||
i--
|
||||
}
|
||||
z[z.len-1] = d
|
||||
|
Reference in New Issue
Block a user