GNUPG-1-9-BRANCH gnupg/g10 (misc.c)

cvs user wk cvs at cvs.gnupg.org
Wed Jul 20 17:42:16 CEST 2005


    Date: Wednesday, July 20, 2005 @ 18:08:15
  Author: wk
    Path: /cvs/gnupg/gnupg/g10
     Tag: GNUPG-1-9-BRANCH

Modified: misc.c

Fix to let it compile.  This is not required but avoids complaints
from folks not reading the documentation.


--------+
 misc.c |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)


Index: gnupg/g10/misc.c
diff -u gnupg/g10/misc.c:1.41.2.7 gnupg/g10/misc.c:1.41.2.8
--- gnupg/g10/misc.c:1.41.2.7	Thu Jun 16 10:12:00 2005
+++ gnupg/g10/misc.c	Wed Jul 20 18:08:15 2005
@@ -988,8 +988,7 @@
 	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);




More information about the Gnupg-commits mailing list