From b42bc48dfb4b6d4f745eb02d8de4f4dcffdacf48 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 11 Jan 2012 17:06:17 +0100 Subject: [PATCH] estream: Avoid printing leading zeroes by %p on 32 bit systems. * common/estream-printf.c (pr_pointer): Synchronize definition of AULONG with its use. --- common/estream-printf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/estream-printf.c b/common/estream-printf.c index 797f9aa30..848ff0301 100644 --- a/common/estream-printf.c +++ b/common/estream-printf.c @@ -1231,7 +1231,7 @@ pr_pointer (estream_printf_out_t outfnc, void *outfncarg, argspec_t arg, value_t value, size_t *nbytes) { int rc; -#ifdef HAVE_LONG_LONG_INT +#if defined(HAVE_LONG_LONG_INT) && (SIZEOF_UNSIGNED_LONG < SIZEOF_VOID_P) unsigned long long aulong; #else unsigned long aulong;