aboutsummaryrefslogtreecommitdiff
path: root/src/rt
diff options
context:
space:
mode:
authorChris Double <[email protected]>2010-07-10 05:20:05 +0800
committerGraydon Hoare <[email protected]>2010-07-11 11:10:56 +0800
commit2fcd99c3e69c427f5949fb0b04d2acddfb30e95a (patch)
treef3fb486affdae5455637807f58176a0363a00b8c /src/rt
parentDisable llvm-config logic due to optimistic assumption of "having the ocaml b... (diff)
downloadrust-2fcd99c3e69c427f5949fb0b04d2acddfb30e95a.tar.xz
rust-2fcd99c3e69c427f5949fb0b04d2acddfb30e95a.zip
Fix for compile error when using gcc 4.5.0
Diffstat (limited to 'src/rt')
-rw-r--r--src/rt/rust_task.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp
index 09239c58..084c8acd 100644
--- a/src/rt/rust_task.cpp
+++ b/src/rt/rust_task.cpp
@@ -179,7 +179,7 @@ rust_task::start(uintptr_t exit_task_glue,
if (j == callee_save_fp)
*spp-- = frame_base;
else
- *spp-- = NULL;
+ *spp-- = (uintptr_t)NULL;
}
// Back up one, we overshot where sp should be.