diff options
Diffstat (limited to 'mdoc_html.c')
-rw-r--r-- | mdoc_html.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_html.c b/mdoc_html.c index f2e931ce..9e1e89c6 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -1596,8 +1596,8 @@ mdoc_fn_pre(MDOC_ARGS) assert(n->child->string); sp = n->child->string; while ((ep = strchr(sp, ' '))) { - sz = MIN(ep - sp, BUFSIZ - 1); - (void)memcpy(nbuf, sp, sz); + sz = MIN((int)(ep - sp), BUFSIZ - 1); + (void)memcpy(nbuf, sp, (size_t)sz); nbuf[sz] = '\0'; print_text(h, nbuf); sp = ++ep; |