=================================================================== RCS file: /cvs/mandoc/Attic/apropos_db.c,v retrieving revision 1.24 retrieving revision 1.26 diff -u -p -r1.24 -r1.26 --- mandoc/Attic/apropos_db.c 2011/12/16 12:06:35 1.24 +++ mandoc/Attic/apropos_db.c 2011/12/16 20:06:58 1.26 @@ -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.26 2011/12/16 20:06:58 kristaps Exp $ */ /* * Copyright (c) 2011 Kristaps Dzonsons * Copyright (c) 2011 Ingo Schwarze @@ -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 } }; @@ -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); } /*