=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/Attic/proto.c,v retrieving revision 1.73 retrieving revision 1.74 diff -u -r1.73 -r1.74 --- src/usr.bin/cvs/Attic/proto.c 2005/08/10 08:14:07 1.73 +++ src/usr.bin/cvs/Attic/proto.c 2005/08/10 14:49:20 1.74 @@ -1,4 +1,4 @@ -/* $OpenBSD: proto.c,v 1.73 2005/08/10 08:14:07 xsa Exp $ */ +/* $OpenBSD: proto.c,v 1.74 2005/08/10 14:49:20 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. @@ -751,7 +751,7 @@ do { /* wait for incoming data */ - if (fgets(cvs_proto_buf, sizeof(cvs_proto_buf), + if (fgets(cvs_proto_buf, (int)sizeof(cvs_proto_buf), root->cr_srvout) == NULL) { if (feof(root->cr_srvout)) return (0); @@ -798,7 +798,7 @@ else in = root->cr_srvout; - if (fgets(lbuf, len, in) == NULL) { + if (fgets(lbuf, (int)len, in) == NULL) { if (ferror(in)) { cvs_log(LP_ERRNO, "failed to read line"); return (-1); @@ -867,7 +867,7 @@ do { /* wait for incoming data */ - if (fgets(cvs_proto_buf, sizeof(cvs_proto_buf), + if (fgets(cvs_proto_buf, (int)sizeof(cvs_proto_buf), stdin) == NULL) { if (feof(stdin)) return (0);