From b89c8a0d48c60ed6bf4440b7b3e217d8df068f42 Mon Sep 17 00:00:00 2001 From: Xavier Santolaria Date: Sun, 14 Aug 2005 19:49:19 +0000 Subject: missing casts; ok joris --- usr.bin/cvs/server.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.bin/cvs/server.c') 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 * 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), -- cgit v1.2.3