aboutsummaryrefslogtreecommitdiff
path: root/src/rt/rust_task.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rt/rust_task.cpp')
-rw-r--r--src/rt/rust_task.cpp2
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.