[cmucl-commit] [git] CMU Common Lisp branch master updated. 20f-39-g7765a6f

Raymond Toy rtoy at common-lisp.net
Sat Oct 11 04:43:17 UTC 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMU Common Lisp".

The branch, master has been updated
       via  7765a6f7f8391e45405298d454b6907d5b90683e (commit)
      from  da20092cfc5da4fd78ef37d2d1d1a06ea9f08f8d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7765a6f7f8391e45405298d454b6907d5b90683e
Author: Raymond Toy <toy.raymond at gmail.com>
Date:   Fri Oct 10 21:43:09 2014 -0700

    Fix compiler warning for skipped_break_addr
    
    Change skipped_break_addr to unsigned int* instead of unsigned long*
    and remove cast from pc to store in skipped_break_addr.

diff --git a/src/lisp/ppc-arch.c b/src/lisp/ppc-arch.c
index c46b99c..008a458 100644
--- a/src/lisp/ppc-arch.c
+++ b/src/lisp/ppc-arch.c
@@ -117,7 +117,7 @@ arch_remove_breakpoint(void *pc, unsigned long orig_inst)
     os_flush_icache((os_vm_address_t) pc, sizeof(unsigned long));
 }
 
-static unsigned long *skipped_break_addr, displaced_after_inst;
+static unsigned int *skipped_break_addr, displaced_after_inst;
 static sigset_t orig_sigmask;
 
 void
@@ -133,7 +133,7 @@ arch_do_displaced_inst(os_context_t * scp, unsigned long orig_inst)
     *pc = orig_inst;
     os_flush_icache((os_vm_address_t) pc, sizeof(unsigned int));
 
-    skipped_break_addr = (unsigned long) pc;
+    skipped_break_addr = pc;
 
     /*
      * Replace the next instruction with a 

-----------------------------------------------------------------------

Summary of changes:
 src/lisp/ppc-arch.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
CMU Common Lisp


More information about the cmucl-commit mailing list