rt: rand.rs expects rust_next() to return uint32_t, not size_t

This commit is contained in:
Chris Peterson 2013-02-13 23:55:30 -08:00
parent 172c29fe0a
commit c531506385
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}