From 313fa53dd5becc8ab267c82754ed72d5d39467ed Mon Sep 17 00:00:00 2001 From: agc Date: Sat, 8 May 2010 02:54:25 +0000 Subject: [PATCH] use the correct filed type for a size_t --- crypto/external/bsd/netpgp/dist/src/lib/packet-parse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/external/bsd/netpgp/dist/src/lib/packet-parse.c b/crypto/external/bsd/netpgp/dist/src/lib/packet-parse.c index 351b4d68b34f..786ca7e682d2 100644 --- a/crypto/external/bsd/netpgp/dist/src/lib/packet-parse.c +++ b/crypto/external/bsd/netpgp/dist/src/lib/packet-parse.c @@ -58,7 +58,7 @@ #if defined(__NetBSD__) __COPYRIGHT("@(#) Copyright (c) 2009 The NetBSD Foundation, Inc. All rights reserved."); -__RCSID("$NetBSD: packet-parse.c,v 1.33 2010/05/08 02:17:15 agc Exp $"); +__RCSID("$NetBSD: packet-parse.c,v 1.34 2010/05/08 02:54:25 agc Exp $"); #endif #ifdef HAVE_OPENSSL_CAST_H @@ -2842,7 +2842,7 @@ parse_pk_sesskey(__ops_region_t *region, return 0; } if (__ops_get_debug_level(__FILE__)) { - fprintf(stderr, "session key: public key id: x=%d\n", sizeof(pkt.u.pk_sesskey.key_id)); + fprintf(stderr, "session key: public key id: x=%" PRIsize "d\n", sizeof(pkt.u.pk_sesskey.key_id)); hexdump(stderr, pkt.u.pk_sesskey.key_id, sizeof(pkt.u.pk_sesskey.key_id), " "); fprintf(stderr, "\n"); }