From 8da9f609af553e4874f2d7720268c60538c8be47 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 16 Apr 2007 13:27:18 +0000 Subject: =?UTF-8?q?2007-04-16=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * pppd/utils.c: Use uintptr_t instead of unsigned long. --- 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 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; -- cgit v1.2.3