diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-06-04 23:26:06 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-06-05 00:21:19 -0700 |
| commit | 78fe75a7415f1073917b5202b83dad6f2ce0c2d6 (patch) | |
| tree | c743c36dfd7016d41e9ac2070cc3a6d99ea52cd8 /src/rt/rust_builtin.cpp | |
| parent | e04e9488adfd06128e9fda3ff423e5e35f3357f5 (diff) | |
| download | rust-78fe75a7415f1073917b5202b83dad6f2ce0c2d6.tar.gz rust-78fe75a7415f1073917b5202b83dad6f2ce0c2d6.zip | |
rt: Fix iaac_init using wrong type and not seeding correctly
This was a result of changing the vector representation to contain a box header.
Diffstat (limited to 'src/rt/rust_builtin.cpp')
| -rw-r--r-- | src/rt/rust_builtin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp index eebb114f5fc..0af08c84f19 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -204,7 +204,7 @@ rand_new() { } extern "C" CDECL void * -rand_new_seeded(rust_vec* seed) { +rand_new_seeded(rust_vec_box* seed) { rust_task *task = rust_get_current_task(); rust_sched_loop *thread = task->sched_loop; randctx *rctx = (randctx *) task->malloc(sizeof(randctx), |
