diff options
| author | Eric Holk <eholk@mozilla.com> | 2011-05-27 15:19:38 -0700 |
|---|---|---|
| committer | Eric Holk <eholk@mozilla.com> | 2011-05-27 15:20:58 -0700 |
| commit | 8cfc388d40673b21282dcdf656cbff3ac8166eca (patch) | |
| tree | 2934640774ac780fa522c9e78dd046a15e08dc8f /src/rt | |
| parent | d49998f0ed9b0a239b40d30ccfde750f8439cac4 (diff) | |
| download | rust-8cfc388d40673b21282dcdf656cbff3ac8166eca.tar.gz rust-8cfc388d40673b21282dcdf656cbff3ac8166eca.zip | |
Switched calling conventions so that spawn with multiple arguments works.
Diffstat (limited to 'src/rt')
| -rw-r--r-- | src/rt/rust_upcall.cpp | 2 |
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; } |
