print size_t by casting to unsigned long

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14734 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-04-04 17:40:10 +00:00
parent 1659be0b81
commit d40ed2e5a1

View File

@@ -148,8 +148,8 @@ main(int argc, char **argv)
struct sshfp_record *sshfp = rr->u.sshfp;
int i;
printf ("alg %u type %u length %u data ",
sshfp->algorithm, sshfp->type, sshfp->sshfp_len);
printf ("alg %u type %u length %lu data ", sshfp->algorithm,
sshfp->type, (unsigned long)sshfp->sshfp_len);
for (i = 0; i < sshfp->sshfp_len; i++)
printf("%02X", sshfp->sshfp_data[i]);
printf("\n");