Skip to content

Commit 2fcd99c

Browse files
doublecgraydon
authored andcommitted
Fix for compile error when using gcc 4.5.0
1 parent 5e0757f commit 2fcd99c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rt/rust_task.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ rust_task::start(uintptr_t exit_task_glue,
179179
if (j == callee_save_fp)
180180
*spp-- = frame_base;
181181
else
182-
*spp-- = NULL;
182+
*spp-- = (uintptr_t)NULL;
183183
}
184184

185185
// Back up one, we overshot where sp should be.

0 commit comments

Comments
 (0)