summaryrefslogtreecommitdiffstats
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
commit33e226400188ba64e1dd495b0e600a8a42ca2c68 (patch)
tree4d99d79bd48a0248301eb3f1b0042c88eecf5b29 /apropos_db.c
parentb38a0e9bb59f9ee62120de914198368fdba24c0c (diff)
downloadmandoc-33e226400188ba64e1dd495b0e600a8a42ca2c68.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apropos_db.c b/apropos_db.c
index 7c703323..c954aa4e 100644
--- a/apropos_db.c
+++ b/apropos_db.c
@@ -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 }
};