diff options
author | Werner Koch <wk@gnupg.org> | 2005-07-20 18:08:15 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2005-07-20 18:08:15 +0200 |
commit | 5e47c186121f4bcf4f4e0f665b6d136e97f1ff43 (patch) | |
tree | fe943ced0eab6684e07f087810733c660ba38d10 /g10/misc.c | |
parent | * keylist.c (email_kludge): Reworked. (diff) | |
download | gnupg2-5e47c186121f4bcf4f4e0f665b6d136e97f1ff43.tar.xz gnupg2-5e47c186121f4bcf4f4e0f665b6d136e97f1ff43.zip |
Fix to let it compile. This is not required but avoids complaints
from folks not reading the documentation.
Diffstat (limited to '')
-rw-r--r-- | g10/misc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/g10/misc.c b/g10/misc.c index 516e80bcc..a0599f304 100644 --- a/g10/misc.c +++ b/g10/misc.c @@ -988,8 +988,7 @@ mpi_print( FILE *fp, gcry_mpi_t a, int mode ) int rc; char *buffer; - rc = gcry_mpi_aprint( GCRYMPI_FMT_HEX, - &(unsigned char*)buffer, NULL, a ); + rc = gcry_mpi_aprint( GCRYMPI_FMT_HEX, &buffer, NULL, a ); assert( !rc ); fputs( buffer, fp ); n += strlen(buffer); |