diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2008-12-02 00:15:41 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2008-12-02 00:15:41 +0000 |
commit | 751b1b613c7d6ae31ce255e24ec9736ec0449044 (patch) | |
tree | b076c3d08d1ed235b5331c17da7a8f7a022c8919 /xml.c | |
parent | 0d055120de349c30f0ceb537d57f8694f67397da (diff) | |
download | mandoc-751b1b613c7d6ae31ce255e24ec9736ec0449044.tar.gz |
Lint fixes and prettiness.
Diffstat (limited to 'xml.c')
-rw-r--r-- | xml.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -167,9 +167,9 @@ mbuf_putstring(struct md_xml *p, const char *buf) static int mbuf_nputstring(struct md_xml *p, const char *buf, size_t sz) { - size_t i; + int i; - for (i = 0; i < sz; i++) { + for (i = 0; i < (int)sz; i++) { switch (buf[i]) { case ('&'): if ( ! md_buf_puts(p->mbuf, "&", 5)) |