diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-09-07 03:00:04 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-09-07 03:00:04 +0000 |
commit | 430c767a39277a12d3d196b45cce77d7b6d92468 (patch) | |
tree | 6e15dd16fc51d3d77fd608c86a2048ad38d4cfba /usr.bin/mandoc/mandocdb.c | |
parent | ce278cabb74d7a84e8e7b3ce7fe890c87791976c (diff) |
fix debugging output
Diffstat (limited to 'usr.bin/mandoc/mandocdb.c')
-rw-r--r-- | usr.bin/mandoc/mandocdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/mandocdb.c b/usr.bin/mandoc/mandocdb.c index 31338c8c642..c92cb0f2045 100644 --- a/usr.bin/mandoc/mandocdb.c +++ b/usr.bin/mandoc/mandocdb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mandocdb.c,v 1.117 2014/09/03 23:20:33 schwarze Exp $ */ +/* $OpenBSD: mandocdb.c,v 1.118 2014/09/07 03:00:03 schwarze Exp $ */ /* * Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2011, 2012, 2013, 2014 Ingo Schwarze <schwarze@openbsd.org> @@ -1725,7 +1725,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); |