summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-11-01 15:34:44 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-11-01 15:34:44 +0000
commitf50364828978249af6c0a2c5e92ee923b8d86c75 (patch)
treef277031798403150dc46239ed392534e58b501a6
parentf66ab5bb088ddc99a318150754d2bff5eb69c3cc (diff)
downloadmandoc-f50364828978249af6c0a2c5e92ee923b8d86c75.tar.gz
mandoc-f50364828978249af6c0a2c5e92ee923b8d86c75.tar.zst
mandoc-f50364828978249af6c0a2c5e92ee923b8d86c75.zip
Lint fix.
-rw-r--r--html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/html.c b/html.c
index 47171298..7433479f 100644
--- a/html.c
+++ b/html.c
@@ -1,4 +1,4 @@
-/* $Id: html.c,v 1.78 2009/11/01 15:34:15 kristaps Exp $ */
+/* $Id: html.c,v 1.79 2009/11/01 15:34:44 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -322,7 +322,7 @@ print_encode(struct html *h, const char *p)
sz = strcspn(p, "\\<>&");
fwrite(p, 1, sz, stdout);
- p += sz;
+ p += (int)sz;
if ('\\' == *p) {
print_escape(h, &p);