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 get rid of some lint...
details: https://anonhg.NetBSD.org/src/rev/62b5ca9df3c7
branches: trunk
changeset: 760258:62b5ca9df3c7
user: agc <agc%NetBSD.org@localhost>
date: Sat Jan 01 22:29:00 2011 +0000
description:
get rid of some lint on amd64 platform
diffstat:
crypto/external/bsd/netpgp/dist/src/lib/reader.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r fa082542fdd6 -r 62b5ca9df3c7 crypto/external/bsd/netpgp/dist/src/lib/reader.c
--- a/crypto/external/bsd/netpgp/dist/src/lib/reader.c Sat Jan 01 22:11:45 2011 +0000
+++ b/crypto/external/bsd/netpgp/dist/src/lib/reader.c Sat Jan 01 22:29:00 2011 +0000
@@ -54,7 +54,7 @@
#if defined(__NetBSD__)
__COPYRIGHT("@(#) Copyright (c) 2009 The NetBSD Foundation, Inc. All rights reserved.");
-__RCSID("$NetBSD: reader.c,v 1.47 2010/11/29 04:20:12 agc Exp $");
+__RCSID("$NetBSD: reader.c,v 1.48 2011/01/01 22:29:00 agc Exp $");
#endif
#include <sys/types.h>
@@ -144,7 +144,7 @@
(void) fprintf(stderr, "fd_reader: coalesced data, off %d\n",
stream->virtualoff);
}
- n = MIN(stream->virtualc - stream->virtualoff, length);
+ n = MIN(stream->virtualc - stream->virtualoff, (unsigned)length);
(void) memcpy(dest, &stream->virtualpkt[stream->virtualoff], n);
stream->virtualoff += n;
if (stream->virtualoff == stream->virtualc) {
Home |
Main Index |
Thread Index |
Old Index