Module Name: src Committed By: agc Date: Sun May 16 02:46:25 UTC 2010
Modified Files: src/crypto/external/bsd/netpgp/dist/src/lib: crypto.c Log Message: fix a piece of lint To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 \ src/crypto/external/bsd/netpgp/dist/src/lib/crypto.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/crypto/external/bsd/netpgp/dist/src/lib/crypto.c diff -u src/crypto/external/bsd/netpgp/dist/src/lib/crypto.c:1.22 src/crypto/external/bsd/netpgp/dist/src/lib/crypto.c:1.23 --- src/crypto/external/bsd/netpgp/dist/src/lib/crypto.c:1.22 Sat May 8 02:17:15 2010 +++ src/crypto/external/bsd/netpgp/dist/src/lib/crypto.c Sun May 16 02:46:25 2010 @@ -54,7 +54,7 @@ #if defined(__NetBSD__) __COPYRIGHT("@(#) Copyright (c) 2009 The NetBSD Foundation, Inc. All rights reserved."); -__RCSID("$NetBSD: crypto.c,v 1.22 2010/05/08 02:17:15 agc Exp $"); +__RCSID("$NetBSD: crypto.c,v 1.23 2010/05/16 02:46:25 agc Exp $"); #endif #include <sys/types.h> @@ -159,7 +159,7 @@ if (__ops_get_debug_level(__FILE__)) { fprintf(stderr, "decoded m buf:\n"); - hexdump(stderr, buf, n - i, " "); + hexdump(stderr, buf, (size_t)(n - i), " "); fprintf(stderr, "\n"); } return n - i;