diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-04-16 13:27:18 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-04-16 13:27:18 +0000 |
commit | 8da9f609af553e4874f2d7720268c60538c8be47 (patch) | |
tree | 3073ca3ef78a7969a8e5337b89d5ebdedd809162 /cpukit/pppd | |
parent | 2007-04-16 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-8da9f609af553e4874f2d7720268c60538c8be47.tar.bz2 |
2007-04-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* pppd/utils.c: Use uintptr_t instead of unsigned long.
Diffstat (limited to 'cpukit/pppd')
-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 a34a3fc490..9a1932c867 100644 --- a/cpukit/pppd/utils.c +++ b/cpukit/pppd/utils.c @@ -102,7 +102,7 @@ vslprintf(buf, buflen, fmt, args) int c, i, n; int width, prec, fillch; int base, len, neg, quoted; - unsigned long val = 0; + uintptr_t val = 0; char *str, *f, *buf0; unsigned char *p; char num[32]; @@ -181,7 +181,7 @@ vslprintf(buf, buflen, fmt, args) base = 16; break; case 'p': - val = (unsigned long) va_arg(args, void *); + val = (uintptr_t) va_arg(args, void *); base = 16; neg = 2; break; |