summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2005-11-08 15:58:39 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2005-11-08 15:58:39 +0000
commitcb74b96699e416236b96cf5fc787d507201a4e92 (patch)
tree80d88f253bb0f95e790000da0a287ee43cce62cb
parent98feb7d99ddcf909a9bef3f7f7dad85aa5b5f03f (diff)
missing casts;
-rw-r--r--usr.bin/rcs/ci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/rcs/ci.c b/usr.bin/rcs/ci.c
index 2919541b0ec..318ee4ef0eb 100644
--- a/usr.bin/rcs/ci.c
+++ b/usr.bin/rcs/ci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ci.c,v 1.56 2005/11/02 21:42:16 niallo Exp $ */
+/* $OpenBSD: ci.c,v 1.57 2005/11/08 15:58:38 xsa Exp $ */
/*
* Copyright (c) 2005 Niall O'Higgins <niallo@openbsd.org>
* All rights reserved.
@@ -417,7 +417,7 @@ checkin_diff_file(RCSFILE *rfp, RCSNUM *rev, const char *filename)
return (NULL);
}
- if ((b3 = cvs_buf_alloc(128, BUF_AUTOEXT)) == NULL) {
+ if ((b3 = cvs_buf_alloc((size_t)128, BUF_AUTOEXT)) == NULL) {
cvs_log(LP_ERR, "failed to allocated buffer for diff");
cvs_buf_free(b1);
cvs_buf_free(b2);
@@ -474,7 +474,7 @@ checkin_getlogmsg(RCSNUM *rev, RCSNUM *rev2)
rcsnum_tostr(rev2, nrev, sizeof(nrev));
rcsnum_free(tmprev);
- if ((logbuf = cvs_buf_alloc(64, BUF_AUTOEXT)) == NULL) {
+ if ((logbuf = cvs_buf_alloc((size_t)64, BUF_AUTOEXT)) == NULL) {
cvs_log(LP_ERR, "failed to allocate log buffer");
return (NULL);
}