aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/apropos_db.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-12-16 12:07:45 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-12-16 12:07:45 +0000
commit9493be9c3ab500b29a35c6f8416d577571ace22d (patch)
treed3cfa8ccb76ec7e78c01d66e564c1dcdf9a1c49c /apropos_db.c
parent1cf41474327ca813976f622e8e0b73bb3841a44c (diff)
downloadmandoc-9493be9c3ab500b29a35c6f8416d577571ace22d.tar.gz
mandoc-9493be9c3ab500b29a35c6f8416d577571ace22d.tar.zst
mandoc-9493be9c3ab500b29a35c6f8416d577571ace22d.zip
Make sure that "any" is UINT64_MAX, not just INT_MAX, else "any" won't
cover all types. Found after some database trawling.
Diffstat (limited to 'apropos_db.c')
-rw-r--r--apropos_db.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apropos_db.c b/apropos_db.c
index 0d2b0728..8ff9e68b 100644
--- a/apropos_db.c
+++ b/apropos_db.c
@@ -1,4 +1,4 @@
-/* $Id: apropos_db.c,v 1.24 2011/12/16 12:06:35 kristaps Exp $ */
+/* $Id: apropos_db.c,v 1.25 2011/12/16 12:07:45 kristaps Exp $ */
/*
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011 Ingo Schwarze <schwarze@openbsd.org>
@@ -117,7 +117,7 @@ static const struct type types[] = {
{ TYPE_Va, "Va" },
{ TYPE_Va, "Vt" },
{ TYPE_Xr, "Xr" },
- { INT_MAX, "any" },
+ { UINT64_MAX, "any" },
{ 0, NULL }
};