summaryrefslogtreecommitdiffstats
path: root/bsps/epiphany/epiphany_sim/btimer/btimer.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/epiphany/epiphany_sim/btimer/btimer.c')
-rw-r--r--bsps/epiphany/epiphany_sim/btimer/btimer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bsps/epiphany/epiphany_sim/btimer/btimer.c b/bsps/epiphany/epiphany_sim/btimer/btimer.c
index 5df9448e01..9cb8526822 100644
--- a/bsps/epiphany/epiphany_sim/btimer/btimer.c
+++ b/bsps/epiphany/epiphany_sim/btimer/btimer.c
@@ -56,8 +56,7 @@ void benchmark_timer_initialize( void )
{
/* Install interrupt handler for timer 1 */
- proc_ptr *table =
- (proc_ptr *) bsp_start_vector_table_begin;
+ void (**table)(void) = (void (**)(void)) bsp_start_vector_table_begin;
table[TIMER1] = benchmark_timer1_interrupt_handler;