about summary refs log tree commit diff
path: root/src/rt/rust_upcall.cpp
diff options
context:
space:
mode:
authorEric Holk <eholk@mozilla.com>2011-05-27 15:19:38 -0700
committerEric Holk <eholk@mozilla.com>2011-05-27 15:20:58 -0700
commit8cfc388d40673b21282dcdf656cbff3ac8166eca (patch)
tree2934640774ac780fa522c9e78dd046a15e08dc8f /src/rt/rust_upcall.cpp
parentd49998f0ed9b0a239b40d30ccfde750f8439cac4 (diff)
downloadrust-8cfc388d40673b21282dcdf656cbff3ac8166eca.tar.gz
rust-8cfc388d40673b21282dcdf656cbff3ac8166eca.zip
Switched calling conventions so that spawn with multiple arguments works.
Diffstat (limited to 'src/rt/rust_upcall.cpp')
-rw-r--r--src/rt/rust_upcall.cpp2
1 files changed, 1 insertions, 1 deletions
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;
 }