diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-30 18:50:11 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-30 18:50:11 +0000 |
commit | 268a942dd654eb4b1874737cd781345c4476aea2 (patch) | |
tree | cb43a6380e13338a8e0de35fea543e753f8697a6 /html.c | |
parent | ea8cd0ee934ae86efb80393ca7b51e913e55043f (diff) | |
download | mandoc-268a942dd654eb4b1874737cd781345c4476aea2.tar.gz |
Lint fixes.
Made realloc puke with fprintf.
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |