rt: rand.rs expects rust_next() to return uint32_t, not size_t
This commit is contained in:
parent
172c29fe0a
commit
c531506385
@ -171,7 +171,7 @@ rand_new_seeded2(rust_vec_box** seed) {
|
||||
return rand_new_seeded(*seed);
|
||||
}
|
||||
|
||||
extern "C" CDECL size_t
|
||||
extern "C" CDECL uint32_t
|
||||
rand_next(randctx *rctx) {
|
||||
return isaac_rand(rctx);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user