1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

crypto: fix rand module

This commit is contained in:
Alexey
2020-04-14 22:03:02 +03:00
committed by GitHub
parent 14e1b963f2
commit e1739549b2
6 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ const (
)
// NOTE: temp until we have []bytes(buff)
fn c_array_to_bytes_tmp(len, buffer voidptr) []byte {
fn c_array_to_bytes_tmp(len int, buffer voidptr) []byte {
mut arr := []byte
arr = make(len, 1, 1)