summaryrefslogtreecommitdiffstats
path: root/mandocdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'mandocdb.c')
-rw-r--r--mandocdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mandocdb.c b/mandocdb.c
index de9d47cc..6a84981f 100644
--- a/mandocdb.c
+++ b/mandocdb.c
@@ -1735,7 +1735,7 @@ putkeys(const struct mpage *mpage,
htab = &strings;
if (debug > 1)
for (i = 0; i < mansearch_keymax; i++)
- if (1 << i & v)
+ if ((uint64_t)1 << i & v)
say(mpage->mlinks->file,
"Adding key %s=%*s",
mansearch_keynames[i], sz, cp);