about summary refs log tree commit diff
path: root/src/rt/rust_builtin.cpp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-06-04 23:26:06 -0700
committerBrian Anderson <banderson@mozilla.com>2012-06-05 00:21:19 -0700
commit78fe75a7415f1073917b5202b83dad6f2ce0c2d6 (patch)
treec743c36dfd7016d41e9ac2070cc3a6d99ea52cd8 /src/rt/rust_builtin.cpp
parente04e9488adfd06128e9fda3ff423e5e35f3357f5 (diff)
downloadrust-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.cpp2
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),