summaryrefslogtreecommitdiffstats
path: root/html.c
diff options
context:
space:
mode:
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;
}