[Git][cmucl/cmucl][issue-385-fix-compiler-warning-linux-os] Use %#lx instead of casting to void *

Raymond Toy pushed to branch issue-385-fix-compiler-warning-linux-os at cmucl / cmucl Commits: a70522b7 by Raymond Toy at 2025-02-20T14:17:32+00:00 Use %#lx instead of casting to void * - - - - - 1 changed file: - src/lisp/Linux-os.c Changes: ===================================== src/lisp/Linux-os.c ===================================== @@ -476,7 +476,7 @@ sigsegv_handler(HANDLER_ARGS) #endif if (gc_write_barrier(code->si_addr)) return; - DPRINTF(0, (stderr, "sigsegv: PC: %p\n", (void *) SC_PC(os_context))); + DPRINTF(0, (stderr, "sigsegv: PC: %#lx\n", SC_PC(os_context))); #ifdef RED_ZONE_HIT { View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/a70522b7674fe9a2d9ef2e6b... -- View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/a70522b7674fe9a2d9ef2e6b... You're receiving this email because of your account on gitlab.common-lisp.net.
participants (1)
-
Raymond Toy (@rtoy)