Changeset 930775d in rtems


Ignore:
Timestamp:
Aug 19, 2008, 6:47:54 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
af063f6
Parents:
1a7c300
Message:

2008-08-19 Joel Sherrill <joel.sherrill@…>

  • libnetworking/kern/kern_sysctl.c, libnetworking/libc/res_debug.c: Fix warnings.
Location:
cpukit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r1a7c300 r930775d  
     12008-08-19      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * libnetworking/kern/kern_sysctl.c, libnetworking/libc/res_debug.c: Fix
     4        warnings.
     5
    162008-08-19      Joel Sherrill <joel.sherrill@OARcorp.com>
    27
  • cpukit/libnetworking/kern/kern_sysctl.c

    r1a7c300 r930775d  
    703703{
    704704        char *p;
    705         int error, oid[CTL_MAXNAME], len;
     705        int error, oid[CTL_MAXNAME], len=0;
    706706        struct sysctl_oid *op = 0;
    707707
  • cpukit/libnetworking/libc/res_debug.c

    r1a7c300 r930775d  
    727727        maxcp = cp + strlen(ascii);
    728728
    729         lltemp1 = latlon2ul(&cp, &which1);
    730 
    731         lltemp2 = latlon2ul(&cp, &which2);
     729        lltemp1 = latlon2ul((char **)&cp, &which1);
     730
     731        lltemp2 = latlon2ul((char **)&cp, &which2);
    732732
    733733        switch (which1 + which2) {
Note: See TracChangeset for help on using the changeset viewer.