Changeset 06f4fe5 in rtems


Ignore:
Timestamp:
May 6, 2005, 3:26:52 PM (15 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
abbec0a
Parents:
b17ff491
Message:

2005-05-06 Joel Sherrill <joel@…>

  • libnetworking/net/if.h, libnetworking/net/if_ppp.c, libnetworking/net/ppp_tty.c: Removed warnings.
Location:
cpukit
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rb17ff491 r06f4fe5  
     12005-05-06      Joel Sherrill <joel@OARcorp.com>
     2
     3        * libnetworking/net/if.h, libnetworking/net/if_ppp.c,
     4        libnetworking/net/ppp_tty.c: Removed warnings.
     5
    162005-05-06      Joel Sherrill <joel@OARcorp.com>
    27
  • cpukit/libnetworking/net/if.h

    rb17ff491 r06f4fe5  
    4040#include <sys/cdefs.h>
    4141
     42#include <sys/mbuf.h>
     43
    4244#if defined(__rtems__)
    4345/*
  • cpukit/libnetworking/net/if_ppp.c

    rb17ff491 r06f4fe5  
    374374        /* write out frame byte to start the transmission */
    375375                sc->sc_outchar = (u_char)PPP_FLAG;
    376         (*tp->device.write)(tp->minor, &sc->sc_outchar, 1);
     376        (*tp->device.write)(tp->minor, (char *)&sc->sc_outchar, 1);
    377377      }
    378378
  • cpukit/libnetworking/net/ppp_tty.c

    rb17ff491 r06f4fe5  
    563563pppstart(struct rtems_termios_tty *tp)
    564564{
    565   char               *sendBegin;
     565  u_char             *sendBegin;
    566566  u_long              ioffset = (u_long       )0;
    567567  struct mbuf        *m       = (struct mbuf *)0;
     
    605605        sc->sc_outflag &=~(SC_TX_FCS);
    606606                sc->sc_outchar = (u_char)PPP_FLAG;
    607         (*tp->device.write)(tp->minor, &sc->sc_outchar, 1);
     607        (*tp->device.write)(tp->minor, (char *)&sc->sc_outchar, 1);
    608608        return(0);
    609609      }
     
    642642
    643643      /* write out the character(s) and update the stats */
    644       (*tp->device.write)(tp->minor, sendBegin, (ioffset > 0) ? ioffset : 1);
     644      (*tp->device.write)(tp->minor, (char *)sendBegin, (ioffset > 0) ? ioffset : 1);
    645645      sc->sc_stats.ppp_obytes += (ioffset > 0) ? ioffset : 1;
    646646      sc->sc_outoff += ioffset;
Note: See TracChangeset for help on using the changeset viewer.