2007-04-16 Ralf Corsépius <ralf.corsepius@rtems.org>

* pppd/utils.c: Use uintptr_t instead of unsigned long.
This commit is contained in:
Ralf Corsepius
2007-04-16 13:27:18 +00:00
parent d1325d6ab6
commit 8da9f609af
2 changed files with 6 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
2007-04-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* pppd/utils.c: Use uintptr_t instead of unsigned long.
2007-04-16 Joel Sherrill <joel@OARcorp.com>
* itron/src/rsm_tsk.c: Correct error returned.

View File

@@ -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;