X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fvalidate.c;h=3e021a59067151c32ed5b5b5d28397b7d3493d4d;hb=4fc9d21ae1d8a6a2f8ff70f589d5da103203de13;hp=5f31b203a65a9ba8c5dc81ec142418d6fcd75708;hpb=5f338d314224411587a7cac218ea320bc982f19f;p=sbcl.git diff --git a/src/runtime/validate.c b/src/runtime/validate.c index 5f31b20..3e021a5 100644 --- a/src/runtime/validate.c +++ b/src/runtime/validate.c @@ -13,10 +13,6 @@ * files for more information. */ -/* - * $Header$ - */ - #include #include "runtime.h" #include "os.h" @@ -28,7 +24,7 @@ static void ensure_space(lispobj *start, unsigned long size) { if (os_validate((os_vm_address_t)start,(os_vm_size_t)size)==NULL) { fprintf(stderr, - "ensure_space: failed to validate %ld bytes at 0x%08X\n", + "ensure_space: failed to validate %ld bytes at 0x%08lx\n", size, (unsigned long)start); exit(1); @@ -63,11 +59,11 @@ void validate(void) fflush(stdout); #endif - ensure_space(READ_ONLY_SPACE_START, READ_ONLY_SPACE_SIZE); - ensure_space(STATIC_SPACE_START , STATIC_SPACE_SIZE); - ensure_space(DYNAMIC_SPACE_START , DYNAMIC_SPACE_SIZE); - ensure_space(CONTROL_STACK_START , CONTROL_STACK_SIZE); - ensure_space(BINDING_STACK_START , BINDING_STACK_SIZE); + ensure_space( (lispobj *)READ_ONLY_SPACE_START, READ_ONLY_SPACE_SIZE); + ensure_space( (lispobj *)STATIC_SPACE_START , STATIC_SPACE_SIZE); + ensure_space( (lispobj *)DYNAMIC_SPACE_START , DYNAMIC_SPACE_SIZE); + ensure_space( (lispobj *)CONTROL_STACK_START , CONTROL_STACK_SIZE); + ensure_space( (lispobj *)BINDING_STACK_START , BINDING_STACK_SIZE); #ifdef HOLES make_holes();