diff options
author | Kevin Wojniak <kainjow@kainjow.com> | 2015-08-10 10:06:14 -0700 |
---|---|---|
committer | Kevin Wojniak <kainjow@kainjow.com> | 2015-08-10 10:06:14 -0700 |
commit | 722bc5df7e7bde6ec865b991e500aca04c931ad5 (patch) | |
tree | 24b01e07e7b5921fb415011e3db41e5aad669b34 /src/html.c | |
parent | 59bcd222c3ef1a64045e27db24ffddeb99ee29d4 (diff) |
Remove need to disable MSVC warning 4244
Diffstat (limited to 'src/html.c')
-rw-r--r-- | src/html.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -130,12 +130,12 @@ static int S_render_node(cmark_node *node, cmark_event_type ev_type, case CMARK_NODE_HEADER: if (entering) { cr(html); - start_header[2] = '0' + node->as.header.level; + start_header[2] = (char)('0' + node->as.header.level); cmark_strbuf_puts(html, start_header); S_render_sourcepos(node, html, options); cmark_strbuf_putc(html, '>'); } else { - end_header[3] = '0' + node->as.header.level; + end_header[3] = (char)('0' + node->as.header.level); cmark_strbuf_puts(html, end_header); cmark_strbuf_puts(html, ">\n"); } |