Permalink
Browse files

Adapt cheneygc.c to type changes in gc-internal.h

  • Loading branch information...
siccegge authored and csrhodes committed Jan 23, 2013
1 parent b9691ef commit f10d937a07cb7198852694de95fd14858fccb5d3
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/runtime/cheneygc.c
View
@@ -62,19 +62,19 @@ tv_diff(struct timeval *x, struct timeval *y)
#endif
void *
-gc_general_alloc(long bytes, int page_type_flag, int quick_p) {
+gc_general_alloc(word_t bytes, int page_type_flag, int quick_p) {
lispobj *new=new_space_free_pointer;
new_space_free_pointer+=(bytes/N_WORD_BYTES);
return new;
}
-lispobj copy_large_unboxed_object(lispobj object, long nwords) {
+lispobj copy_large_unboxed_object(lispobj object, sword_t nwords) {
return copy_object(object,nwords);
}
-lispobj copy_unboxed_object(lispobj object, long nwords) {
+lispobj copy_unboxed_object(lispobj object, sword_t nwords) {
return copy_object(object,nwords);
}
-lispobj copy_large_object(lispobj object, long nwords) {
+lispobj copy_large_object(lispobj object, sword_t nwords) {
return copy_object(object,nwords);
}

0 comments on commit f10d937

Please sign in to comment.