Changeset bb7cd38 in rtems for c/src/lib/libbsp/m68k


Ignore:
Timestamp:
Mar 5, 2004, 3:31:01 PM (16 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
070425c
Parents:
b16bdbf7
Message:

2004-03-05 Joel Sherrill <joel@…>

PR 505/bsps

  • setvec.c: Rework to remove punned pointer warning generated by gcc 3.3 and newer.
Location:
c/src/lib/libbsp/m68k/shared
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/shared/ChangeLog

    rb16bdbf7 rbb7cd38  
     12004-03-05      Joel Sherrill <joel@OARcorp.com>
     2
     3        PR 505/bsps
     4        * setvec.c: Rework to remove punned pointer warning generated by gcc
     5        3.3 and newer.
     6
    172004-01-14      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    28
  • c/src/lib/libbsp/m68k/shared/setvec.c

    rb16bdbf7 rbb7cd38  
    2727)
    2828{
    29   m68k_isr_entry  previous_isr;
     29  rtems_isr_entry  previous_isr;
    3030
    3131  if ( type )
    32     rtems_interrupt_catch( handler, vector, (rtems_isr_entry *) &previous_isr );
     32    rtems_interrupt_catch( handler, vector, &previous_isr );
    3333  else {
    3434    _CPU_ISR_install_raw_handler( vector, handler, (void *)&previous_isr );
    3535  }
    36   return previous_isr;
     36  return (m68k_isr_entry) previous_isr;
    3737}
    3838
Note: See TracChangeset for help on using the changeset viewer.