summaryrefslogtreecommitdiffstats
path: root/hal/untyped.c
diff options
context:
space:
mode:
Diffstat (limited to 'hal/untyped.c')
-rw-r--r--hal/untyped.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hal/untyped.c b/hal/untyped.c
index 243f3ec..e76dd0e 100644
--- a/hal/untyped.c
+++ b/hal/untyped.c
@@ -8,10 +8,10 @@ untyped_size(jove_owned_obj_t *tgt)
return ((jove_untyped_t*)obj_deref(tgt))->limit;
}
-size_t
-untyped_align(jove_owned_obj_t *tgt)
+uintptr_t
+untyped_address(jove_owned_obj_t *tgt)
{
- return (uintptr_t)obj_deref(tgt) & 0xFFF;
+ return (uintptr_t)obj_deref(tgt);
}
int