From 033b1fa0a9bfc7ec9e2e6fec324ef5d7f721647f Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Fri, 8 Jun 2012 10:33:48 +0000 Subject: 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. --- catman.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'catman.c') 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 * @@ -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; -- cgit v1.2.3-56-ge451