summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/ChangeLog4
-rw-r--r--util/cert.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/util/ChangeLog b/util/ChangeLog
index b528ef0af..574477a6e 100644
--- a/util/ChangeLog
+++ b/util/ChangeLog
@@ -1,3 +1,7 @@
+2006-03-30 David Shaw <dshaw@jabberwocky.com>
+
+ * cert.c (main): Fix test program build warning on OSX.
+
2006-03-16 David Shaw <dshaw@jabberwocky.com>
* cert.c (get_cert): Handle the fixed IPGP type with fingerprint.
diff --git a/util/cert.c b/util/cert.c
index bae1b196f..1b3390b80 100644
--- a/util/cert.c
+++ b/util/cert.c
@@ -221,7 +221,7 @@ main(int argc,char *argv[])
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 @@ main(int argc,char *argv[])
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");