1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-16 00:29:50 +02:00

* cert.c (main): Fix test program build warning on OSX.

This commit is contained in:
David Shaw 2006-03-30 14:13:35 +00:00
parent 0ea95fd80f
commit f99dec9e53
2 changed files with 6 additions and 2 deletions

View File

@ -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> 2006-03-16 David Shaw <dshaw@jabberwocky.com>
* cert.c (get_cert): Handle the fixed IPGP type with fingerprint. * cert.c (get_cert): Handle the fixed IPGP type with fingerprint.

View File

@ -221,7 +221,7 @@ main(int argc,char *argv[])
printf("no answer\n"); printf("no answer\n");
else if(rc==1) 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); iobuf_close(iobuf);
} }
else if(rc==2) else if(rc==2)
@ -229,7 +229,7 @@ main(int argc,char *argv[])
if(fpr) if(fpr)
{ {
size_t i; 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++) for(i=0;i<fpr_len;i++)
printf("%02X",fpr[i]); printf("%02X",fpr[i]);
printf("\n"); printf("\n");