Permalink
Browse files

cleanup: remove cast to (unsigned long) from print_ptr()

  • Loading branch information...
1 parent 844ecf9 commit 5a942de4c3645c0c63a262eb7b825a9843e96372 @nikodemus nikodemus committed Mar 28, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/runtime/gencgc.c
View
@@ -2847,8 +2847,8 @@ print_ptr(lispobj *addr)
page_index_t pi1 = find_page_index((void*)addr);
if (pi1 != -1)
- fprintf(stderr," %x: page %d alloc %d gen %d bytes_used %d offset %lu dont_move %d\n",
- (unsigned long) addr,
+ fprintf(stderr," %p: page %d alloc %d gen %d bytes_used %d offset %lu dont_move %d\n",
+ addr,
pi1,
page_table[pi1].allocated,
page_table[pi1].gen,

0 comments on commit 5a942de

Please sign in to comment.