summaryrefslogtreecommitdiff
path: root/libhurd-mm/exceptions.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhurd-mm/exceptions.c')
-rw-r--r--libhurd-mm/exceptions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhurd-mm/exceptions.c b/libhurd-mm/exceptions.c
index 10d932e..1a855b9 100644
--- a/libhurd-mm/exceptions.c
+++ b/libhurd-mm/exceptions.c
@@ -797,7 +797,7 @@ hurd_activation_state_alloc (vg_addr_t thread, struct hurd_utcb **utcbp)
page += 1 + SKIP;
#else
/* Use the end of the UTCB. */
- utcb->vg.activation_handler_sp = utcb + PAGESIZE;
+ utcb->vg.activation_handler_sp = (void *) utcb + PAGESIZE;
#endif
/* At the top of the stack page, we use some space to remember the