mirror of https://github.com/rust-lang/rust.git
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);
|
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…
Reference in New Issue