summaryrefslogtreecommitdiffstats
path: root/util/cert.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/cert.c')
-rw-r--r--util/cert.c4
1 files changed, 2 insertions, 2 deletions
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");