Skip to content

Commit 0cea109

Browse files
committed
change u32 to uint. maybe we want an intptr_t built-in type.
1 parent 36ab948 commit 0cea109

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/task.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ fn unsafe_spawn_inner(-thunk: fn@(),
298298
task unsafe {
299299
let id = rustrt::new_task();
300300

301-
let raw_thunk: {code: u32, env: u32} = cast(thunk);
301+
let raw_thunk: {code: uint, env: uint} = cast(thunk);
302302

303303
// set up the task pointer
304304
let task_ptr <- rust_task_ptr(rustrt::get_task_pointer(id));

0 commit comments

Comments
 (0)