Changeset 6191ee4 in rtems


Ignore:
Timestamp:
Apr 26, 2005, 11:11:35 PM (15 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
d3db8ae
Parents:
1321155f
Message:

2005-04-26 Joel Sherrill <joel@…>

  • network/network.c: Eliminate warnings.
Location:
c/src/lib/libbsp/m68k/uC5282
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/uC5282/ChangeLog

    r1321155f r6191ee4  
     12005-04-26      Joel Sherrill <joel@OARcorp.com>
     2
     3        * network/network.c: Eliminate warnings.
     4
    152005-04-20  Eric Norum <norume@aps.anl.gov>
    26
  • c/src/lib/libbsp/m68k/uC5282/network/network.c

    r1321155f r6191ee4  
    826826    if (config->hardware_address) {
    827827        hwaddr = config->hardware_address;
    828     }
    829     else if ((hwaddr = bsp_gethwaddr(unitNumber - 1)) == NULL) {
     828    } else if ((hwaddr = bsp_gethwaddr(unitNumber - 1)) == NULL) {
    830829        /* Locally-administered address */
    831         static const char defaultAddress[ETHER_ADDR_LEN] = {
    832                                             0x06, 'R', 'T', 'E', 'M', 'S'};
    833         printf ("WARNING -- No %s%d Ethernet address specified -- Using default address.\n",
    834                                                         unitName, unitNumber);
     830        static const unsigned char defaultAddress[ETHER_ADDR_LEN] = {
     831                                        0x06, 'R', 'T', 'E', 'M', 'S'};
     832        printf ("WARNING -- No %s%d Ethernet address specified "
     833                "-- Using default address.\n", unitName, unitNumber);
    835834        hwaddr = defaultAddress;
    836835    }
Note: See TracChangeset for help on using the changeset viewer.