diff options
author | 2005-08-11 11:45:06 +0000 | |
---|---|---|
committer | 2005-08-11 11:45:06 +0000 | |
commit | 33ae768957a8634e9cf6694ffb3e860896a9239c (patch) | |
tree | 813605ca45441a0454170d8d37dfa6e5e6e6732d | |
parent | don't accept SYN-only TCP options for established connections; (diff) | |
download | wireguard-openbsd-33ae768957a8634e9cf6694ffb3e860896a9239c.tar.xz wireguard-openbsd-33ae768957a8634e9cf6694ffb3e860896a9239c.zip |
getdirentries() expects the 3rd arg to be an int.
-rw-r--r-- | usr.bin/cvs/repo.c | 4 |
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"); |