diff options
| author | Chris Double <chris.double@double.co.nz> | 2010-07-10 05:20:05 +0800 |
|---|---|---|
| committer | Graydon Hoare <graydon@pobox.com> | 2010-07-11 11:10:56 +0800 |
| commit | 2fcd99c3e69c427f5949fb0b04d2acddfb30e95a (patch) | |
| tree | f3fb486affdae5455637807f58176a0363a00b8c /src/rt/rust_task.cpp | |
| parent | 5e0757f0ba367061be31c2b0ccb705ad0286578c (diff) | |
| download | rust-2fcd99c3e69c427f5949fb0b04d2acddfb30e95a.tar.gz rust-2fcd99c3e69c427f5949fb0b04d2acddfb30e95a.zip | |
Fix for compile error when using gcc 4.5.0
Diffstat (limited to 'src/rt/rust_task.cpp')
| -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 09239c58fd8..084c8acd62b 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. |
