Skip to content
Snippets Groups Projects
Commit 57ca5217 authored by Raymond Toy's avatar Raymond Toy
Browse files

Fix a few compiler warnings.

parent 2326ebcf
No related branches found
No related tags found
No related merge requests found
......@@ -499,7 +499,7 @@ sigbus_handler(HANDLER_ARGS)
/* a *real* protection fault */
fprintf(stderr, "sigbus_handler: Real protection violation at %p, PC = %p\n",
fault_addr, SC_PC(context));
fault_addr, (void *) SC_PC(context));
sigbus_handle_now(signal, code, context);
#ifdef __ppc__
/* Work around G5 bug; fix courtesy gbyers via chandler */
......
......@@ -63,7 +63,7 @@ process_directory(int fd, long *ptr, int count)
case STATIC_SPACE_ID:
static_space = (lispobj *) addr;
if (len >= static_space_size) {
fprintf(stderr, "Error: Static space size (%d) exceeds allocated space (%d)!\n",
fprintf(stderr, "Error: Static space size (%ld) exceeds allocated space (%ld)!\n",
len, static_space_size);
exit(1);
}
......@@ -71,7 +71,7 @@ process_directory(int fd, long *ptr, int count)
case READ_ONLY_SPACE_ID:
/* Don't care about read only space */
if (len >= read_only_space_size) {
fprintf(stderr, "Error: Read only space size (%d) exceeds allocated space (%d)!\n",
fprintf(stderr, "Error: Read only space size (%ld) exceeds allocated space (%lu)!\n",
len, read_only_space_size);
exit(1);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment