Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/cksum Fix build.



details:   https://anonhg.NetBSD.org/src/rev/3a935e0ef226
branches:  trunk
changeset: 333333:3a935e0ef226
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Wed Oct 29 18:09:35 2014 +0000

description:
Fix build.

diffstat:

 usr.bin/cksum/crc.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r dca441af3d55 -r 3a935e0ef226 usr.bin/cksum/crc.c
--- a/usr.bin/cksum/crc.c       Wed Oct 29 17:36:07 2014 +0000
+++ b/usr.bin/cksum/crc.c       Wed Oct 29 18:09:35 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: crc.c,v 1.18 2006/09/04 20:01:10 dsl Exp $     */
+/*     $NetBSD: crc.c,v 1.19 2014/10/29 18:09:35 uebayasi Exp $        */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -41,7 +41,7 @@
 #if 0
 static char sccsid[] = "@(#)crc.c      8.1 (Berkeley) 6/17/93";
 #else
-__RCSID("$NetBSD: crc.c,v 1.18 2006/09/04 20:01:10 dsl Exp $");
+__RCSID("$NetBSD: crc.c,v 1.19 2014/10/29 18:09:35 uebayasi Exp $");
 #endif
 #endif /* not lint */
 
@@ -115,7 +115,7 @@
 crc(int fd, u_int32_t *cval, off_t *clen)
 {
        u_char *p;
-       int nr;
+       ssize_t nr;
        u_int32_t thecrc;
        off_t len;
        u_char buf[16 * 1024];



Home | Main Index | Thread Index | Old Index