summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/buf.c
diff options
context:
space:
mode:
authorRay Lai <ray@cvs.openbsd.org>2006-03-17 07:37:09 +0000
committerRay Lai <ray@cvs.openbsd.org>2006-03-17 07:37:09 +0000
commit160b884359d736d16e9705869212b7fc154f380e (patch)
treec6a40f2bbc8d7e43fe4f4512cc8b8b0db79775ed /usr.bin/cvs/buf.c
parent44ca898c50779cd84ff2bed6cbbd045763b11108 (diff)
Use ssize_t in appropriate places.
Found by lint. OK niallo@
Diffstat (limited to 'usr.bin/cvs/buf.c')
-rw-r--r--usr.bin/cvs/buf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cvs/buf.c b/usr.bin/cvs/buf.c
index ded55b4d649..d2d67d3cadb 100644
--- a/usr.bin/cvs/buf.c
+++ b/usr.bin/cvs/buf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: buf.c,v 1.36 2006/03/15 19:48:12 niallo Exp $ */
+/* $OpenBSD: buf.c,v 1.37 2006/03/17 07:37:08 ray Exp $ */
/*
* Copyright (c) 2003 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -293,10 +293,10 @@ cvs_buf_append(BUF *b, const void *data, size_t len)
* cvs_buf_fappend()
*
*/
-int
+ssize_t
cvs_buf_fappend(BUF *b, const char *fmt, ...)
{
- int ret;
+ ssize_t ret;
char *str;
va_list vap;