From 2fcd99c3e69c427f5949fb0b04d2acddfb30e95a Mon Sep 17 00:00:00 2001 From: Chris Double Date: Sat, 10 Jul 2010 05:20:05 +0800 Subject: Fix for compile error when using gcc 4.5.0 --- src/rt/rust_task.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rt/rust_task.cpp') 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. -- cgit 1.4.1-3-g733a5