summaryrefslogtreecommitdiffstats
path: root/apropos_db.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-12-16 20:06:58 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-12-16 20:06:58 +0000
commit13255de738140bf9fed5a722c85cf8e0f7083a9d (patch)
treea4c69f9f6f6c22db25a49eb319ce4cc2da1e933e /apropos_db.c
parent8b66b26e198f21b9cea1d08ab3091f732148b3fb (diff)
downloadmandoc-13255de738140bf9fed5a722c85cf8e0f7083a9d.tar.gz
Two lint fixes.
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 c954aa4e..f50e91f2 100644
--- a/apropos_db.c
+++ b/apropos_db.c
@@ -197,7 +197,7 @@ btree_read(const DBT *k, const DBT *v,
static size_t
norm_utf8(unsigned int cp, char out[7])
{
- size_t rc;
+ int rc;
rc = 0;
@@ -238,7 +238,7 @@ norm_utf8(unsigned int cp, char out[7])
return(0);
out[rc] = '\0';
- return(rc);
+ return((size_t)rc);
}
/*