summaryrefslogtreecommitdiffstats
path: root/apropos.c
diff options
context:
space:
mode:
Diffstat (limited to 'apropos.c')
-rw-r--r--apropos.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/apropos.c b/apropos.c
index 8426490c..5589cbaf 100644
--- a/apropos.c
+++ b/apropos.c
@@ -122,12 +122,13 @@ out:
static void
list(struct res *res, size_t sz, void *arg)
{
- int i;
+ size_t i;
qsort(res, sz, sizeof(struct res), cmp);
- for (i = 0; i < (int)sz; i++)
- printf("%s(%s%s%s) - %.70s\n", res[i].title,
+ for (i = 0; i < sz; i++)
+ printf("%s(%s%s%s) - %.70s\n",
+ res[i].title,
res[i].cat,
*res[i].arch ? "/" : "",
*res[i].arch ? res[i].arch : "",