rt: rand.rs expects rust_next() to return uint32_t, not size_t
This commit is contained in:
parent
172c29fe0a
commit
c531506385
1 changed files with 1 additions and 1 deletions
|
|
@ -171,7 +171,7 @@ rand_new_seeded2(rust_vec_box** seed) {
|
||||||
return rand_new_seeded(*seed);
|
return rand_new_seeded(*seed);
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" CDECL size_t
|
extern "C" CDECL uint32_t
|
||||||
rand_next(randctx *rctx) {
|
rand_next(randctx *rctx) {
|
||||||
return isaac_rand(rctx);
|
return isaac_rand(rctx);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue