summaryrefslogtreecommitdiffstats
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
commit2c10c42e89cdbfadb0b2881598c48fe3a54ba0b9 (patch)
treec87c0e454cbf76d526bed1a20ea528b79e9c6134 /catman.c
parent1d3922ed025e3a5e6c01197099d9ddc1b1702fb4 (diff)
downloadmandoc-2c10c42e89cdbfadb0b2881598c48fe3a54ba0b9.tar.gz
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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/catman.c b/catman.c
index 26a60215..bde01c10 100644
--- a/catman.c
+++ b/catman.c
@@ -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;