summaryrefslogtreecommitdiffstats
path: root/html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-10-30 18:50:11 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-10-30 18:50:11 +0000
commit268a942dd654eb4b1874737cd781345c4476aea2 (patch)
treecb43a6380e13338a8e0de35fea543e753f8697a6 /html.c
parentea8cd0ee934ae86efb80393ca7b51e913e55043f (diff)
downloadmandoc-268a942dd654eb4b1874737cd781345c4476aea2.tar.gz
Lint fixes.
Made realloc puke with fprintf.
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index 6990841b..77c73bb6 100644
--- a/html.c
+++ b/html.c
@@ -673,7 +673,7 @@ html_idcat(char *dst, const char *src, int sz)
sz--;
for ( ; *src != '\0' && sz > 1; src++) {
- ssz = snprintf(dst, sz, "%.2x", *src);
+ ssz = snprintf(dst, (size_t)sz, "%.2x", *src);
sz -= ssz;
dst += ssz;
}