diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2011-11-11 08:33:59 -0800 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2011-11-16 15:16:41 -0800 |
| commit | 0cea1095b19699fc652ff1f373566fc93c72d42a (patch) | |
| tree | 550db294ceb824a4ad8ab7b6e2275cd1052a8d5f /src | |
| parent | 36ab948bfaf9f19dd830a9e802dde0a43659d981 (diff) | |
| download | rust-0cea1095b19699fc652ff1f373566fc93c72d42a.tar.gz rust-0cea1095b19699fc652ff1f373566fc93c72d42a.zip | |
change u32 to uint. maybe we want an intptr_t built-in type.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/task.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/task.rs b/src/lib/task.rs index 72a73763427..6f5a403f2db 100644 --- a/src/lib/task.rs +++ b/src/lib/task.rs @@ -298,7 +298,7 @@ fn unsafe_spawn_inner(-thunk: fn@(), task unsafe { let id = rustrt::new_task(); - let raw_thunk: {code: u32, env: u32} = cast(thunk); + let raw_thunk: {code: uint, env: uint} = cast(thunk); // set up the task pointer let task_ptr <- rust_task_ptr(rustrt::get_task_pointer(id)); |
