summaryrefslogtreecommitdiff
path: root/libhurd-mm/exceptions.c
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@gnu.org>2008-12-18 16:26:15 +0100
committerNeal H. Walfield <neal@gnu.org>2008-12-18 16:26:15 +0100
commit21b900f421e258eb8c4f293de45cd88ce638456e (patch)
treea6e51c2898db07497248ff763cf521232a58d152 /libhurd-mm/exceptions.c
parent6f0b7fbc7f1b98dbce6621c93bdc72564274a089 (diff)
Fix address computation error.
2008-12-18 Neal H. Walfield <neal@gnu.org> * exceptions.c (hurd_activation_state_alloc): Cast UTCB to a void *.
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