Skip to content
Snippets Groups Projects
Commit caa5a031 authored by pwerkowski's avatar pwerkowski
Browse files

Fix bogus cast noticed by FreeBSD 7 GCC compiler

parent 06764498
No related branches found
No related tags found
No related merge requests found
/* x86-arch.c -*- Mode: C; comment-column: 40 -*- /* x86-arch.c -*- Mode: C; comment-column: 40 -*-
* *
* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/x86-arch.c,v 1.30 2007/11/16 06:52:25 cshapiro Exp $ * $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/x86-arch.c,v 1.31 2007/12/03 18:02:45 pwerkowski Exp $
* *
*/ */
...@@ -161,7 +161,7 @@ arch_do_displaced_inst(os_context_t * context, unsigned long orig_inst) ...@@ -161,7 +161,7 @@ arch_do_displaced_inst(os_context_t * context, unsigned long orig_inst)
single_stepping = (unsigned int *) pc; single_stepping = (unsigned int *) pc;
#ifndef __linux__ #ifndef __linux__
(unsigned int *) SC_PC(context) = (char *) pc - 9; SC_PC(context) = (int)((char *) pc - 9);
#endif #endif
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment