Skip to content

Commit

Permalink
rt: rand.rs expects rust_next() to return uint32_t, not size_t
Browse files Browse the repository at this point in the history
  • Loading branch information
cpeterso committed Feb 15, 2013
1 parent 172c29f commit c531506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rt/rust_builtin.cpp
Expand Up @@ -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);
}
Expand Down

0 comments on commit c531506

Please sign in to comment.