From 8a4f22e64ec09db4075cccb24dc290386ce16a95 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sun, 16 Sep 2007 04:13:48 +0000 Subject: Convert to using C99 fixed-size types instead of BSD fixed-size types. --- cpukit/pppd/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/pppd/utils.c') 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); -- cgit v1.2.3