summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-01 14:58:35 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-01 14:58:35 +0000
commit86e1c2696a9247cdc79163b131d5d2b709b2382a (patch)
tree6badf914092383db340b13a893dbe5ee11a32124
parent1889c7fd88267925d696f2cda04c0db25097938a (diff)
downloadrtems-86e1c2696a9247cdc79163b131d5d2b709b2382a.tar.bz2
2002-11-01 Joel Sherrill <joel@OARcorp.com>
* cpu.c: Removed warnings.
-rw-r--r--cpukit/score/cpu/m68k/ChangeLog4
-rw-r--r--cpukit/score/cpu/m68k/cpu.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/score/cpu/m68k/ChangeLog b/cpukit/score/cpu/m68k/ChangeLog
index 2529074ba5..55bc95d0d3 100644
--- a/cpukit/score/cpu/m68k/ChangeLog
+++ b/cpukit/score/cpu/m68k/ChangeLog
@@ -1,3 +1,7 @@
+2002-11-01 Joel Sherrill <joel@OARcorp.com>
+
+ * cpu.c: Removed warnings.
+
2002-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add nostdinc to AM_INIT_AUTOMAKE.
diff --git a/cpukit/score/cpu/m68k/cpu.c b/cpukit/score/cpu/m68k/cpu.c
index c7337c378e..f90b9c9933 100644
--- a/cpukit/score/cpu/m68k/cpu.c
+++ b/cpukit/score/cpu/m68k/cpu.c
@@ -107,7 +107,7 @@ void _CPU_ISR_install_raw_handler(
* load it appropriately to vector to the RTEMS jump table.
*/
- *old_handler = _CPU_ISR_jump_table[vector].isr_handler;
+ *old_handler = (proc_ptr) _CPU_ISR_jump_table[vector].isr_handler;
_CPU_ISR_jump_table[vector].isr_handler = (unsigned32) new_handler;
if ( (unsigned32) interrupt_table != 0xFFFFFFFF )
interrupt_table[ vector ] = (proc_ptr) &_CPU_ISR_jump_table[vector];