From d1aaf8b626ae8f729bc81dd7f15a16d8ccc0b227 Mon Sep 17 00:00:00 2001 From: Owen Shepherd Date: Wed, 26 Dec 2012 23:28:07 +0000 Subject: [PATCH] PDCLIB_scan: For %p, use E_long. This is a temporary change: Long term, we will be adding an E_pointer conversion --- functions/_PDCLIB/scan.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions/_PDCLIB/scan.c b/functions/_PDCLIB/scan.c index 0ecf31a..615d82e 100644 --- a/functions/_PDCLIB/scan.c +++ b/functions/_PDCLIB/scan.c @@ -386,7 +386,8 @@ const char * _PDCLIB_scan( const char * spec, struct _PDCLIB_status_t * status ) } case 'p': status->base = 16; - status->flags |= E_unsigned; + // TODO: Like _PDCLIB_print, E_pointer(?) + status->flags |= E_unsigned | E_long; break; case 'n': { -- 2.40.0