summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorNiall O'Higgins <niallo@cvs.openbsd.org>2005-10-12 22:57:27 +0000
committerNiall O'Higgins <niallo@cvs.openbsd.org>2005-10-12 22:57:27 +0000
commita4cb6e0fb985e37ae0fcea0df37ab884851c6fca (patch)
tree496db4c5f4cb39043da62a79ec1a9df5bd2390fe /usr.bin
parent3447232df109443dc6685d4b0c628c5c3d9a34b9 (diff)
add a cast when doing cvs_buf_release();
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/rcs/ci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rcs/ci.c b/usr.bin/rcs/ci.c
index e3af30db4ec..f1d3c56a2b9 100644
--- a/usr.bin/rcs/ci.c
+++ b/usr.bin/rcs/ci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ci.c,v 1.22 2005/10/12 17:13:30 deraadt Exp $ */
+/* $OpenBSD: ci.c,v 1.23 2005/10/12 22:57:26 niallo Exp $ */
/*
* Copyright (c) 2005 Niall O'Higgins <niallo@openbsd.org>
* All rights reserved.
@@ -186,7 +186,7 @@ checkin_main(int argc, char **argv)
if (cvs_buf_putc(bp, '\0') < 0)
exit(1);
- filec = cvs_buf_release(bp);
+ filec = (char *)cvs_buf_release(bp);
/*
* Check for a lock belonging to this user. If none,