From 25e81e34eaaa1953ca301e95314c1ed01e773a9d Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Wed, 4 Jan 2012 20:11:39 -0800 Subject: rewrite task tests --- src/rt/rust.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rt/rust.cpp') diff --git a/src/rt/rust.cpp b/src/rt/rust.cpp index a3b30c26e5b..03acdaa91e0 100644 --- a/src/rt/rust.cpp +++ b/src/rt/rust.cpp @@ -98,7 +98,7 @@ rust_start(uintptr_t main_fn, int argc, char **argv, void* crate_map) { DLOG(sched, dom, "startup: arg[%d] = '%s'", i, args->argv[i]); } - root_task->start((spawn_fn)main_fn, (uintptr_t)args->args); + root_task->start((spawn_fn)main_fn, NULL, args->args); root_task->deref(); root_task = NULL; -- cgit 1.4.1-3-g733a5