mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
crypto: remove extraneous casts & rename rand_lin to rand_linux
This commit is contained in:
parent
dd61a22367
commit
2897bac549
8 changed files with 10 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue