diff options
| author | Chris Double <[email protected]> | 2010-07-10 05:20:05 +0800 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-07-11 11:10:56 +0800 |
| commit | 2fcd99c3e69c427f5949fb0b04d2acddfb30e95a (patch) | |
| tree | f3fb486affdae5455637807f58176a0363a00b8c | |
| parent | Disable llvm-config logic due to optimistic assumption of "having the ocaml b... (diff) | |
| download | rust-2fcd99c3e69c427f5949fb0b04d2acddfb30e95a.tar.xz rust-2fcd99c3e69c427f5949fb0b04d2acddfb30e95a.zip | |
Fix for compile error when using gcc 4.5.0
| -rw-r--r-- | src/rt/rust_task.cpp | 2 |
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. |