forked from Imagelibrary/rtems
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:
@@ -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>
|
2007-04-16 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* itron/src/rsm_tsk.c: Correct error returned.
|
* itron/src/rsm_tsk.c: Correct error returned.
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ vslprintf(buf, buflen, fmt, args)
|
|||||||
int c, i, n;
|
int c, i, n;
|
||||||
int width, prec, fillch;
|
int width, prec, fillch;
|
||||||
int base, len, neg, quoted;
|
int base, len, neg, quoted;
|
||||||
unsigned long val = 0;
|
uintptr_t val = 0;
|
||||||
char *str, *f, *buf0;
|
char *str, *f, *buf0;
|
||||||
unsigned char *p;
|
unsigned char *p;
|
||||||
char num[32];
|
char num[32];
|
||||||
@@ -181,7 +181,7 @@ vslprintf(buf, buflen, fmt, args)
|
|||||||
base = 16;
|
base = 16;
|
||||||
break;
|
break;
|
||||||
case 'p':
|
case 'p':
|
||||||
val = (unsigned long) va_arg(args, void *);
|
val = (uintptr_t) va_arg(args, void *);
|
||||||
base = 16;
|
base = 16;
|
||||||
neg = 2;
|
neg = 2;
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user