summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/rtems
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2004-05-21 15:02:17 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2004-05-21 15:02:17 +0000
commite6492224028928ae0372bc7187ce420c7957f7c3 (patch)
tree5ee329e3f40f8d314a20ebbb10a5ec35d3f022e3 /cpukit/libnetworking/rtems
parent2004-05-21 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-e6492224028928ae0372bc7187ce420c7957f7c3.tar.bz2
2004-05-21 Till Strauman <strauman@slac.stanford.edu>
PR 626/networking * libnetworking/rtems/rtems_showifstat.c: Use unsigned char to avoid printing leading FFFFFF for byte values > 127.
Diffstat (limited to 'cpukit/libnetworking/rtems')
-rw-r--r--cpukit/libnetworking/rtems/rtems_showifstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libnetworking/rtems/rtems_showifstat.c b/cpukit/libnetworking/rtems/rtems_showifstat.c
index 3fe55f74cd..0c879f8051 100644
--- a/cpukit/libnetworking/rtems/rtems_showifstat.c
+++ b/cpukit/libnetworking/rtems/rtems_showifstat.c
@@ -55,7 +55,7 @@ rtems_bsdnet_show_if_stats (void)
case AF_LINK:
{
struct sockaddr_dl *sdl = (struct sockaddr_dl *)ifa->ifa_addr;
- char *cp = LLADDR(sdl);
+ unsigned char *cp = LLADDR(sdl);
int i;
switch ( sdl->sdl_type ) {