Changeset 910adc3 in rtems for c/src/libchip/serial/ns16550.c


Ignore:
Timestamp:
09/28/17 11:18:12 (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
71923138
Parents:
610ffd7
git-author:
Sebastian Huber <sebastian.huber@…> (09/28/17 11:18:12)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/28/17 11:18:35)
Message:

bsps: Fix integer to/from pointer warnings

Update #3082.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/libchip/serial/ns16550.c

    r610ffd7 r910adc3  
    709709  void ns16550_isr(void *arg)
    710710  {
    711     int minor = (int) arg;
     711    int minor = (intptr_t) arg;
    712712
    713713    ns16550_process( minor);
     
    734734        RTEMS_INTERRUPT_SHARED,
    735735        ns16550_isr,
    736         (void *) minor
     736        (void *) (intptr_t) minor
    737737      );
    738738      if (sc != RTEMS_SUCCESSFUL) {
     
    784784      c->ulIntVector,
    785785      ns16550_isr,
    786       (void *) minor
     786      (void *) (intptr_t) minor
    787787    );
    788788    if (sc != RTEMS_SUCCESSFUL) {
Note: See TracChangeset for help on using the changeset viewer.