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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.