From ce13dce2796dad121ec83f006067fc7733d2ec3e Mon Sep 17 00:00:00 2001 From: Nick Briggs Date: Wed, 7 Jun 2017 20:40:43 -0700 Subject: [PATCH] Convert 0x%x to %p where appropriate. modified: llstk.c --- src/llstk.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/llstk.c b/src/llstk.c index 54846ae..9a59859 100644 --- a/src/llstk.c +++ b/src/llstk.c @@ -630,7 +630,7 @@ void stack_check(StackWord *start68k) { if (scanptr68k != start68k) { if (scanptr68k > endstack68k) { WARN("scanptr exceeded end stack", - printf("scanptr68k=0x%x endstack68k=0x%x", scanptr68k, endstack68k)); + printf("scanptr68k=%p endstack68k=%p", scanptr68k, endstack68k)); } } } /* while end */ @@ -707,7 +707,7 @@ void walk_stack(StackWord *start68k) { printf(" End of stack = 0x%x.\n\n", (DLword *)endstack68k - Stackspace); if (STKWORD(endstack68k)->flags != STK_GUARD) - printf("?? endstack is not GUARD BLK\nendstack = 0x%x, flags = %d\n\n", endstack68k, + printf("?? endstack is not GUARD BLK\nendstack = %p, flags = %d\n\n", endstack68k, STKWORD(endstack68k)->flags); while (scanptr68k < endstack68k) { @@ -800,7 +800,7 @@ void walk_stack(StackWord *start68k) { if (scanptr68k != start68k) { if (scanptr68k > endstack68k) { WARN("scanptr exceeded end stack", - printf("scanptr68k=0x%x endstack68k=0x%x", scanptr68k, endstack68k)); + printf("scanptr68k=%p endstack68k=%p", scanptr68k, endstack68k)); } } } /* while end */ @@ -927,7 +927,7 @@ void quick_stack_check(void) { if (scanptr68k != start68k) { if (scanptr68k > endstack68k) { WARN("scanptr exceeded end stack", - printf("scanptr68k=0x%x endstack68k=0x%x", scanptr68k, endstack68k)); + printf("scanptr68k=%p endstack68k=%p", scanptr68k, endstack68k)); } } } /* while end */