Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/netpgp/dist/src/lib use the correct file...



details:   https://anonhg.NetBSD.org/src/rev/e2054367e08e
branches:  trunk
changeset: 754667:e2054367e08e
user:      agc <agc%NetBSD.org@localhost>
date:      Sat May 08 02:54:25 2010 +0000

description:
use the correct filed type for a size_t

diffstat:

 crypto/external/bsd/netpgp/dist/src/lib/packet-parse.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 7a2f724847c2 -r e2054367e08e crypto/external/bsd/netpgp/dist/src/lib/packet-parse.c
--- a/crypto/external/bsd/netpgp/dist/src/lib/packet-parse.c    Sat May 08 02:48:31 2010 +0000
+++ b/crypto/external/bsd/netpgp/dist/src/lib/packet-parse.c    Sat May 08 02:54:25 2010 +0000
@@ -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 @@
                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");
        }



Home | Main Index | Thread Index | Old Index