Changeset fa768df in rtems


Ignore:
Timestamp:
Mar 28, 2007, 4:43:04 AM (13 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
1a795c31
Parents:
0b07d87
Message:

2007-03-28 Ralf Corsépius <ralf.corsepius@…>

  • libnetworking/rtems/rtems_glue.c: Cast to intptr_t instead of "long", because long is not guaranteed to be castable to char*.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r0b07d87 rfa768df  
    112007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
    22
     3        * libnetworking/rtems/rtems_glue.c: Cast to intptr_t instead of
     4        "long", because long is not guaranteed to be castable to char*.
    35        * libnetworking/netinet/ip_input.c: Eliminate __P().
    46        Change "int next" to "int32_t next" for 16bit targets.
  • cpukit/libnetworking/rtems/rtems_glue.c

    r0b07d87 rfa768df  
    155155                return -1;
    156156        }
    157         p = (char *)(((unsigned long)p + (MCLBYTES-1)) & ~(MCLBYTES-1));
     157        p = (char *)(((intptr_t)p + (MCLBYTES-1)) & ~(MCLBYTES-1));
    158158        mbutl = (struct mbuf *)p;
    159159        for (i = 0; i < nmbclusters; i++) {
Note: See TracChangeset for help on using the changeset viewer.