diff options
author | Werner Koch <wk@gnupg.org> | 2012-01-11 17:06:17 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2012-01-11 17:06:17 +0100 |
commit | b42bc48dfb4b6d4f745eb02d8de4f4dcffdacf48 (patch) | |
tree | 1a50af0f8a4731bcdd5afd5f3282afb1a2c6426e /common/estream-printf.c | |
parent | Refresh sample keys (diff) | |
download | gnupg2-b42bc48dfb4b6d4f745eb02d8de4f4dcffdacf48.tar.xz gnupg2-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.
Diffstat (limited to '')
-rw-r--r-- | common/estream-printf.c | 2 |
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; |