diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-09-16 04:13:48 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-09-16 04:13:48 +0000 |
commit | 8a4f22e64ec09db4075cccb24dc290386ce16a95 (patch) | |
tree | ed36905d0a1fc10730f98c409906b4a1c110340b /cpukit/pppd/utils.c | |
parent | 2007-09-14 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-8a4f22e64ec09db4075cccb24dc290386ce16a95.tar.bz2 |
Convert to using C99 fixed-size types instead of BSD fixed-size types.
Diffstat (limited to '')
-rw-r--r-- | cpukit/pppd/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/pppd/utils.c b/cpukit/pppd/utils.c index 9a1932c867..5ee0fbe551 100644 --- a/cpukit/pppd/utils.c +++ b/cpukit/pppd/utils.c @@ -107,7 +107,7 @@ vslprintf(buf, buflen, fmt, args) unsigned char *p; char num[32]; time_t t; - u_int32_t ip; + uint32_t ip; static char hexchars[] = "0123456789abcdef"; struct buffer_info bufinfo; @@ -197,7 +197,7 @@ vslprintf(buf, buflen, fmt, args) str = strerror(errno); break; case 'I': - ip = va_arg(args, u_int32_t); + ip = va_arg(args, uint32_t); ip = ntohl(ip); slprintf(num, sizeof(num), "%d.%d.%d.%d", (ip >> 24) & 0xff, (ip >> 16) & 0xff, (ip >> 8) & 0xff, ip & 0xff); |