From 9524f32119c687023c20f181cdf47f0125f59c60 Mon Sep 17 00:00:00 2001 From: Thiemo Seufer Date: Wed, 19 Oct 2005 18:09:14 +0000 Subject: [PATCH] 0.9.5.77: Silence compiler warnings. --- src/runtime/coreparse.c | 8 ++++---- src/runtime/runtime.c | 3 ++- version.lisp-expr | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/runtime/coreparse.c b/src/runtime/coreparse.c index 1a31707..12003de 100644 --- a/src/runtime/coreparse.c +++ b/src/runtime/coreparse.c @@ -62,7 +62,7 @@ process_directory(int fd, u32 *ptr, int count) if (len != 0) { os_vm_address_t real_addr; FSHOW((stderr, "/mapping %ld(0x%lx) bytes at 0x%lx\n", - (long)len, (long)len, addr)); + (long)len, (long)len, (unsigned long)addr)); real_addr = os_map(fd, offset, addr, len); if (real_addr != addr) { lose("file mapped in wrong place! " @@ -72,8 +72,8 @@ process_directory(int fd, u32 *ptr, int count) } } - FSHOW((stderr, "/space id = %d, free pointer = 0x%08x\n", - id, (long)free_pointer)); + FSHOW((stderr, "/space id = %ld, free pointer = 0x%lx\n", + id, (unsigned long)free_pointer)); switch (id) { case DYNAMIC_CORE_SPACE_ID: @@ -256,7 +256,7 @@ load_core_file(char *file) } ptr += remaining_len; - FSHOW((stderr, "/new ptr=%x\n", ptr)); + FSHOW((stderr, "/new ptr=%lx\n", (unsigned long)ptr)); } SHOW("about to free(header)"); free(header); diff --git a/src/runtime/runtime.c b/src/runtime/runtime.c index cb6fcb0..fa9e33b 100644 --- a/src/runtime/runtime.c +++ b/src/runtime/runtime.c @@ -339,7 +339,8 @@ main(int argc, char *argv[], char *envp[]) SetSymbolValue(POSIX_ARGV, alloc_base_string_list(sbcl_argv),0); free(sbcl_argv); - FSHOW((stderr, "/funcalling initial_function=0x%lx\n", initial_function)); + FSHOW((stderr, "/funcalling initial_function=0x%lx\n", + (unsigned long)initial_function)); create_initial_thread(initial_function); lose("CATS. CATS ARE NICE."); return 0; diff --git a/version.lisp-expr b/version.lisp-expr index b19ac7d..680854d 100644 --- a/version.lisp-expr +++ b/version.lisp-expr @@ -17,4 +17,4 @@ ;;; checkins which aren't released. (And occasionally for internal ;;; versions, especially for internal versions off the main CVS ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".) -"0.9.5.76" +"0.9.5.77" -- 1.7.10.4