summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/server.c
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2005-08-14 19:49:19 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2005-08-14 19:49:19 +0000
commitb89c8a0d48c60ed6bf4440b7b3e217d8df068f42 (patch)
tree17776d313a091a59d8adec3839de5db82044a3be /usr.bin/cvs/server.c
parent89e22d556d6a3517beebb02c12e4a465dbb4aadf (diff)
missing casts; ok joris
Diffstat (limited to 'usr.bin/cvs/server.c')
-rw-r--r--usr.bin/cvs/server.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cvs/server.c b/usr.bin/cvs/server.c
index 20887c599a1..3d398386610 100644
--- a/usr.bin/cvs/server.c
+++ b/usr.bin/cvs/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.c,v 1.22 2005/08/10 14:49:20 xsa Exp $ */
+/* $OpenBSD: server.c,v 1.23 2005/08/14 19:49:18 xsa Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -81,8 +81,8 @@ cvs_server(int argc, char **argv)
}
/* make sure standard in and standard out are line-buffered */
- (void)setvbuf(stdin, NULL, _IOLBF, 0);
- (void)setvbuf(stdout, NULL, _IOLBF, 0);
+ (void)setvbuf(stdin, NULL, _IOLBF, (size_t)0);
+ (void)setvbuf(stdout, NULL, _IOLBF, (size_t)0);
/* create the temporary directory */
l = snprintf(cvs_server_tmpdir, sizeof(cvs_server_tmpdir),