summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-11-10 16:32:00 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-11-10 16:32:00 +0000
commitb143111b9882f17042ae0818fd8f8dbf6f33525d (patch)
tree7e1b83803b539b3b9ef09ec164b0b020df05221c
parent03b81d91e640fd174c9a14d6771a042857cd5970 (diff)
downloadmandoc-b143111b9882f17042ae0818fd8f8dbf6f33525d.tar.gz
mandoc-b143111b9882f17042ae0818fd8f8dbf6f33525d.tar.zst
mandoc-b143111b9882f17042ae0818fd8f8dbf6f33525d.zip
Lint fixes in function call.
-rw-r--r--html.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/html.c b/html.c
index b2fc6064..042f1641 100644
--- a/html.c
+++ b/html.c
@@ -1,4 +1,4 @@
-/* $Id: html.c,v 1.82 2009/11/09 05:11:46 kristaps Exp $ */
+/* $Id: html.c,v 1.83 2009/11/10 16:32:00 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -88,8 +88,8 @@ extern int getsubopt(char **, char * const *, char **);
#endif
-static void print_spec(struct html *, const char *, int);
-static void print_res(struct html *, const char *, int);
+static void print_spec(struct html *, const char *, size_t);
+static void print_res(struct html *, const char *, size_t);
static void print_ctag(struct html *, enum htmltag);
static void print_encode(struct html *, const char *);
@@ -193,12 +193,12 @@ print_gen_head(struct html *h)
static void
-print_spec(struct html *h, const char *p, int len)
+print_spec(struct html *h, const char *p, size_t len)
{
const char *rhs;
size_t sz;
- rhs = chars_a2ascii(h->symtab, p, (size_t)len, &sz);
+ rhs = chars_a2ascii(h->symtab, p, len, &sz);
if (NULL == rhs)
return;
@@ -207,12 +207,12 @@ print_spec(struct html *h, const char *p, int len)
static void
-print_res(struct html *h, const char *p, int len)
+print_res(struct html *h, const char *p, size_t len)
{
const char *rhs;
size_t sz;
- rhs = chars_a2res(h->symtab, p, (size_t)len, &sz);
+ rhs = chars_a2res(h->symtab, p, len, &sz);
if (NULL == rhs)
return;