projects
/
sbcl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e16145
)
cleanup: void_diff returns os_vm_size_t
author
Nikodemus Siivola
<nikodemus@random-state.net>
Fri, 25 Nov 2011 14:30:17 +0000
(16:30 +0200)
committer
Nikodemus Siivola
<nikodemus@random-state.net>
Sun, 27 Nov 2011 11:19:04 +0000
(13:19 +0200)
src/runtime/gencgc.c
patch
|
blob
|
history
diff --git
a/src/runtime/gencgc.c
b/src/runtime/gencgc.c
index
3eb134f
..
62f5e8a
100644
(file)
--- a/
src/runtime/gencgc.c
+++ b/
src/runtime/gencgc.c
@@
-254,8
+254,8
@@
npage_bytes(page_index_t npages)
/* Check that X is a higher address than Y and return offset from Y to
* X in bytes. */
-static inline
-size_t void_diff(void *x, void *y)
+static inline os_vm_size_t
+void_diff(void *x, void *y)
{
gc_assert(x >= y);
return (pointer_sized_uint_t)x - (pointer_sized_uint_t)y;