[svn] GnuPG - r4082 - trunk/util
svn author dshaw
cvs at cvs.gnupg.org
Thu Mar 30 16:13:36 CEST 2006
Author: dshaw
Date: 2006-03-30 16:13:35 +0200 (Thu, 30 Mar 2006)
New Revision: 4082
Modified:
trunk/util/ChangeLog
trunk/util/cert.c
Log:
* cert.c (main): Fix test program build warning on OSX.
Modified: trunk/util/ChangeLog
===================================================================
--- trunk/util/ChangeLog 2006-03-27 19:06:46 UTC (rev 4081)
+++ trunk/util/ChangeLog 2006-03-30 14:13:35 UTC (rev 4082)
@@ -1,3 +1,7 @@
+2006-03-30 David Shaw <dshaw at jabberwocky.com>
+
+ * cert.c (main): Fix test program build warning on OSX.
+
2006-03-16 David Shaw <dshaw at jabberwocky.com>
* cert.c (get_cert): Handle the fixed IPGP type with fingerprint.
Modified: trunk/util/cert.c
===================================================================
--- trunk/util/cert.c 2006-03-27 19:06:46 UTC (rev 4081)
+++ trunk/util/cert.c 2006-03-30 14:13:35 UTC (rev 4082)
@@ -221,7 +221,7 @@
printf("no answer\n");
else if(rc==1)
{
- printf("key found: %d bytes\n",iobuf_get_temp_length(iobuf));
+ printf("key found: %d bytes\n",(int)iobuf_get_temp_length(iobuf));
iobuf_close(iobuf);
}
else if(rc==2)
@@ -229,7 +229,7 @@
if(fpr)
{
size_t i;
- printf("Fingerprint found (%d bytes): ",fpr_len);
+ printf("Fingerprint found (%d bytes): ",(int)fpr_len);
for(i=0;i<fpr_len;i++)
printf("%02X",fpr[i]);
printf("\n");
More information about the Gnupg-commits
mailing list