From 8cfc388d40673b21282dcdf656cbff3ac8166eca Mon Sep 17 00:00:00 2001 From: Eric Holk Date: Fri, 27 May 2011 15:19:38 -0700 Subject: Switched calling conventions so that spawn with multiple arguments works. --- src/rt/rust_upcall.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rt/rust_upcall.cpp') diff --git a/src/rt/rust_upcall.cpp b/src/rt/rust_upcall.cpp index 966ddb15eee..6d8734bd430 100644 --- a/src/rt/rust_upcall.cpp +++ b/src/rt/rust_upcall.cpp @@ -480,7 +480,7 @@ upcall_start_task(rust_task *spawner, // here. uintptr_t start_args[] = {0, 0, 0, args}; - task->start(spawnee_fn, (uintptr_t)&start_args, sizeof(start_args)); + task->start(spawnee_fn, (uintptr_t)start_args, sizeof(start_args)); return task; } -- cgit 1.4.1-3-g733a5