summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2005-08-11 11:45:07 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2005-08-11 11:45:07 +0000
commit0588a459a6c9eb2b5e428277946bb9fa49fa7274 (patch)
treea67b73acd3b847720ed862eb8058000ec9c6a4a8 /usr.bin/cvs
parent2e4382bf57c8db77699440b5fbea9447891f2d34 (diff)
getdirentries() expects the 3rd arg to be an int.
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r--usr.bin/cvs/repo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/repo.c b/usr.bin/cvs/repo.c
index 118f9f45a0e..d228f124e0d 100644
--- a/usr.bin/cvs/repo.c
+++ b/usr.bin/cvs/repo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: repo.c,v 1.7 2005/07/25 12:13:08 xsa Exp $ */
+/* $OpenBSD: repo.c,v 1.8 2005/08/11 11:45:06 xsa Exp $ */
/*
* Copyright (c) 2005 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -544,7 +544,7 @@ cvs_repo_loadrec(CVSREPO *repo, const char *path)
}
do {
- ret = getdirentries(fd, fbuf, sizeof(fbuf), &base);
+ ret = getdirentries(fd, fbuf, (int)sizeof(fbuf), &base);
if (ret == -1) {
cvs_log(LP_ERRNO,
"failed to get directory entries");