From a96e16af6a24bf929032612fb8cd0397ca5aeb11 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Mon, 23 Nov 2009 19:02:24 -0800 Subject: Follow up on 64 bit compilation warnings. --- stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stream.c') diff --git a/stream.c b/stream.c index b76d037d..6b54b2f7 100644 --- a/stream.c +++ b/stream.c @@ -879,7 +879,7 @@ val vformat(val stream, val fmtstr, va_list vl) continue; case 'p': ptr = va_arg(vl, void *); - value = (int) ptr; + value = (cnum) ptr; strcpy(num_buf, "0x"); sprintf(num_buf + 2, num_fmt->hex, value); goto output_num; -- cgit v1.2.3