vlib: change byte to u8 (#19930)

This commit is contained in:
Kim Shrier 2023-11-18 18:23:32 -07:00 committed by GitHub
parent 53e1e5e686
commit cc220e60a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 39 additions and 45 deletions

View file

@ -6,7 +6,7 @@ module rand
#include <sys/random.h>
fn C.getrandom(p &byte, n usize, flags u32) int
fn C.getrandom(p &u8, n usize, flags u32) int
const (
read_batch_size = 256