diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2012-06-08 10:33:48 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2012-06-08 10:33:48 +0000 |
commit | 033b1fa0a9bfc7ec9e2e6fec324ef5d7f721647f (patch) | |
tree | c8407bc40e388ea9ece26f41960cc958951d999e | |
parent | f1120c542b0577e236401251c9af324555049408 (diff) | |
download | mandoc-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.
-rw-r--r-- | catman.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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; |