X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fruntime%2Fbreakpoint.c;h=18f96d89077f392bc6185d5cf2a5554b27234373;hb=7c406887c08477181e869b1b98142d99b52990ac;hp=846fa777c1e1e15a4606f1e30d26c09b5b72baca;hpb=e2b2b8f2156ede16d70a0bdd0cfad29ea31b8ccc;p=sbcl.git diff --git a/src/runtime/breakpoint.c b/src/runtime/breakpoint.c index 846fa77..18f96d8 100644 --- a/src/runtime/breakpoint.c +++ b/src/runtime/breakpoint.c @@ -104,7 +104,7 @@ static long compute_offset(os_context_t *context, lispobj code) else { unsigned long code_start; struct code *codeptr = (struct code *)native_pointer(code); -#ifdef parisc +#ifdef LISP_FEATURE_HPPA unsigned long pc = *os_context_pc_addr(context) & ~3; #else unsigned long pc = *os_context_pc_addr(context); @@ -115,7 +115,7 @@ static long compute_offset(os_context_t *context, lispobj code) if (pc < code_start) return 0; else { - long offset = pc - code_start; + unsigned long offset = pc - code_start; if (offset >= codeptr->code_size) return 0; else