Changeset c922a9dd in rtems


Ignore:
Timestamp:
Apr 14, 2010, 12:42:11 PM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
34c63d11
Parents:
36275c64
Message:

2010-04-14 Ralf Corsépius <ralf.corsepius@…>

  • libnetworking/libc/gethostbydns.c: Use uintptr_t instead of u_long for 16bit target compliance.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r36275c64 rc922a9dd  
    112010-04-14      Ralf Corsépius <ralf.corsepius@rtems.org>
    22
     3        * libnetworking/libc/gethostbydns.c: Use uintptr_t instead of u_long
     4        for 16bit target compliance.
    35        * libnetworking/sys/sysctl.h: Change sysctl_oid->arg2 into int32_t
    46        for 16bit target compliance.
  • cpukit/libnetworking/libc/gethostbydns.c

    r36275c64 rc922a9dd  
    394394                        }
    395395
    396                         bp += sizeof(align) - ((u_long)bp % sizeof(align));
     396                        bp += sizeof(align) - ((uintptr_t)bp % sizeof(align));
    397397
    398398                        if (bp + n >= &hostbuf[sizeof hostbuf]) {
Note: See TracChangeset for help on using the changeset viewer.