1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

estream: Avoid printing leading zeroes by %p on 32 bit systems.

* common/estream-printf.c (pr_pointer): Synchronize definition of
AULONG with its use.
This commit is contained in:
Werner Koch 2012-01-11 17:06:17 +01:00
parent 860861279b
commit b42bc48dfb

View File

@ -1231,7 +1231,7 @@ pr_pointer (estream_printf_out_t outfnc, void *outfncarg,
argspec_t arg, value_t value, size_t *nbytes) argspec_t arg, value_t value, size_t *nbytes)
{ {
int rc; int rc;
#ifdef HAVE_LONG_LONG_INT #if defined(HAVE_LONG_LONG_INT) && (SIZEOF_UNSIGNED_LONG < SIZEOF_VOID_P)
unsigned long long aulong; unsigned long long aulong;
#else #else
unsigned long aulong; unsigned long aulong;