Changeset ab09043a in rtems


Ignore:
Timestamp:
08/21/98 12:51:29 (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
bbdab89
Parents:
fd808ba
Message:

Fixed warning about pointer/integer conversion which turned out to be
a missed "&" on a write.

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/libnetworking/libc/res_send.c

    rfd808ba rab09043a  
    426426                         * RTEMS doesn't have writev (yet)
    427427                         */
    428                         if ((write (s, len, INT16SZ) != INT16SZ)
     428                        if ((write (s, &len, INT16SZ) != INT16SZ)
    429429                         || (write (s, buf, buflen) != buflen)) {
    430430#endif
  • c/src/lib/libnetworking/libc/res_send.c

    rfd808ba rab09043a  
    426426                         * RTEMS doesn't have writev (yet)
    427427                         */
    428                         if ((write (s, len, INT16SZ) != INT16SZ)
     428                        if ((write (s, &len, INT16SZ) != INT16SZ)
    429429                         || (write (s, buf, buflen) != buflen)) {
    430430#endif
  • c/src/libnetworking/libc/res_send.c

    rfd808ba rab09043a  
    426426                         * RTEMS doesn't have writev (yet)
    427427                         */
    428                         if ((write (s, len, INT16SZ) != INT16SZ)
     428                        if ((write (s, &len, INT16SZ) != INT16SZ)
    429429                         || (write (s, buf, buflen) != buflen)) {
    430430#endif
  • cpukit/libnetworking/libc/res_send.c

    rfd808ba rab09043a  
    426426                         * RTEMS doesn't have writev (yet)
    427427                         */
    428                         if ((write (s, len, INT16SZ) != INT16SZ)
     428                        if ((write (s, &len, INT16SZ) != INT16SZ)
    429429                         || (write (s, buf, buflen) != buflen)) {
    430430#endif
Note: See TracChangeset for help on using the changeset viewer.