summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-09-24 15:05:56 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-09-24 15:05:56 +0000
commit215f2a8cd001a0927cb5bbb0dd41bd37b8da20df (patch)
tree4bec550be222a5397e3938a52873de1c82f19d32
parent183e6ae0229d1ddcdf3a1f493eaae4a39d11d97a (diff)
downloadmandoc-215f2a8cd001a0927cb5bbb0dd41bd37b8da20df.tar.gz
Lint-fixes (noop).
-rw-r--r--mdoc_html.c4
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;