summaryrefslogtreecommitdiffstats
path: root/cpukit/pppd/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/pppd/utils.c')
-rw-r--r--cpukit/pppd/utils.c4
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;