aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2012-01-11 16:06:17 +0000
committerWerner Koch <[email protected]>2012-01-11 16:06:17 +0000
commitb42bc48dfb4b6d4f745eb02d8de4f4dcffdacf48 (patch)
tree1a50af0f8a4731bcdd5afd5f3282afb1a2c6426e
parentRefresh sample keys (diff)
downloadgnupg-b42bc48dfb4b6d4f745eb02d8de4f4dcffdacf48.tar.gz
gnupg-b42bc48dfb4b6d4f745eb02d8de4f4dcffdacf48.zip
estream: Avoid printing leading zeroes by %p on 32 bit systems.
* common/estream-printf.c (pr_pointer): Synchronize definition of AULONG with its use.
-rw-r--r--common/estream-printf.c2
1 files changed, 1 insertions, 1 deletions
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;