aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/catman.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2012-06-08 10:33:48 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2012-06-08 10:33:48 +0000
commit033b1fa0a9bfc7ec9e2e6fec324ef5d7f721647f (patch)
treec8407bc40e388ea9ece26f41960cc958951d999e /catman.c
parentf1120c542b0577e236401251c9af324555049408 (diff)
downloadmandoc-033b1fa0a9bfc7ec9e2e6fec324ef5d7f721647f.tar.gz
mandoc-033b1fa0a9bfc7ec9e2e6fec324ef5d7f721647f.tar.zst
mandoc-033b1fa0a9bfc7ec9e2e6fec324ef5d7f721647f.zip
Use size_t in catman to match manpath.h.
Note this file will not be connected to the build for a little while as I get the new sqlite3 stuff in.
Diffstat (limited to 'catman.c')
-rw-r--r--catman.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/catman.c b/catman.c
index 1d313ea6..c755d270 100644
--- a/catman.c
+++ b/catman.c
@@ -1,4 +1,4 @@
-/* $Id: catman.c,v 1.10 2012/01/03 15:17:20 kristaps Exp $ */
+/* $Id: catman.c,v 1.11 2012/06/08 10:33:48 kristaps Exp $ */
/*
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -380,7 +380,8 @@ manup(const struct manpaths *dirs, char *base)
char dst[MAXPATHLEN],
src[MAXPATHLEN];
const char *path;
- int i, c;
+ size_t i;
+ int c;
size_t sz;
FILE *f;