about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-02-04 00:31:29 -0800
committerBrian Anderson <banderson@mozilla.com>2012-02-04 01:15:00 -0800
commite81840607266d8c9af6ac5ddf187174c4689e26b (patch)
tree167145482d024786dfdd550efcbbddf1e5eec5f3 /src/rt/rust_kernel.cpp
parent9fa950ec53dc7428d2d4a20ba56a50c21d5606a5 (diff)
downloadrust-e81840607266d8c9af6ac5ddf187174c4689e26b.tar.gz
rust-e81840607266d8c9af6ac5ddf187174c4689e26b.zip
rt: Expand rust_kernel::live_tasks to a uintptr_t
Diffstat (limited to 'src/rt/rust_kernel.cpp')
-rw-r--r--src/rt/rust_kernel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rt/rust_kernel.cpp b/src/rt/rust_kernel.cpp
index 33191c2f553..f8e7e41971e 100644
--- a/src/rt/rust_kernel.cpp
+++ b/src/rt/rust_kernel.cpp
@@ -84,7 +84,7 @@ rust_kernel::fail() {
 
 void
 rust_kernel::register_task(rust_task *task) {
-    int new_live_tasks;
+    uintptr_t new_live_tasks;
     {
         scoped_lock with(task_lock);
         task->user.id = max_task_id++;
@@ -99,7 +99,7 @@ rust_kernel::register_task(rust_task *task) {
 void
 rust_kernel::release_task_id(rust_task_id id) {
     KLOG_("Releasing task %" PRIdPTR, id);
-    int new_live_tasks;
+    uintptr_t new_live_tasks;
     {
         scoped_lock with(task_lock);
         task_table.remove(id);