Changeset ec25c6ef in rtems


Ignore:
Timestamp:
Aug 10, 2017, 12:23:02 PM (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
d8012bbd
Parents:
a6f84b27
git-author:
Sebastian Huber <sebastian.huber@…> (08/10/17 12:23:02)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/22/17 14:27:00)
Message:

bsps: Fix integer to/from pointer

Update #3082.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/shared/src/irq-generic.c

    ra6f84b27 rec25c6ef  
    4646static void bsp_interrupt_handler_empty(void *arg)
    4747{
    48   rtems_vector_number vector = (rtems_vector_number) arg;
     48  rtems_vector_number vector = (rtems_vector_number) (uintptr_t) arg;
    4949
    5050  bsp_interrupt_handler_default(vector);
     
    103103  e->handler = bsp_interrupt_handler_empty;
    104104  bsp_interrupt_fence(ATOMIC_ORDER_RELEASE);
    105   e->arg = (void *) vector;
     105  e->arg = (void *) (uintptr_t) vector;
    106106  e->info = NULL;
    107107  e->next = NULL;
Note: See TracChangeset for help on using the changeset viewer.