Fix for compile error when using gcc 4.5.0

This commit is contained in:
Chris Double 2010-07-10 05:20:05 +08:00 committed by Graydon Hoare
parent 5e0757f0ba
commit 2fcd99c3e6
1 changed files with 1 additions and 1 deletions

View File

@ -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.