summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_prf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/subr_prf.c')
-rw-r--r--sys/kern/subr_prf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c
index 9474a66..b2715e5 100644
--- a/sys/kern/subr_prf.c
+++ b/sys/kern/subr_prf.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)subr_prf.c 8.3 (Berkeley) 1/21/94
- * $Id: subr_prf.c,v 1.46 1998/05/28 09:30:20 phk Exp $
+ * $Id: subr_prf.c,v 1.47 1998/07/08 10:41:32 bde Exp $
*/
#include <sys/param.h>
@@ -495,7 +495,7 @@ reswitch: switch (ch = (u_char)*fmt++) {
base = 8;
goto nosign;
case 'p':
- ul = (u_long)va_arg(ap, void *);
+ ul = (uintptr_t)va_arg(ap, void *);
base = 16;
sharpflag = 1;
goto nosign;
OpenPOWER on IntegriCloud